Search Results

Search: Posts Made By: MadeInGermany
8,425
Posted By MadeInGermany
The awk checks field 3 (etime) against a regular...
The awk checks field 3 (etime) against a regular expression (RE) that checks the digits before a - character. But - I misread your first post - that's days, not hours!
Also there is a bug in the RE,...
8,425
Posted By MadeInGermany
I wonder what the -f does in conjunction with -o...
I wonder what the -f does in conjunction with -o ...
"etime" is standard. With an appropriate RE:
ps -eo pid,comm,etime | awk '$3~/^[2-9][0-9]*-/{print $1,$2,$3}'
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 04:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy