in reply to Getting Linux system info
Example:
gives you the start time of the pppd demon. The etime switch to ps gives you the elapsed time, but you need a more tricky cut (maybe perl ? ;-) to get it...ps -eo start_time,user,command | grep $USER | grep pppd | grep -v grep + | cut -d' ' -f1
| Regards... | Stefan |
|
|---|