Search Results

Search: Posts Made By: MadeInGermany
1,615
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,...
1,615
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

 

Featured Tech Videos

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