Search Results

Search: Posts Made By: bedtime
1,813
Posted By bedtime
Indeed it would! This is perfect! :) I'm guessing...
Indeed it would! This is perfect! :) I'm guessing that this is far more efficient than using awk.

I just added a 'head' command to chop off the rest of the lines after 5:
ps axeo comm...
1,813
Posted By bedtime
Parsing a file name with awk
I have a command to print out the top 5 most cpu intensive commands:

ps aux --sort=-%cpu --no-headers

I would like to make a printout containing only the parsed file name.

So, I want to turn...
Showing results 1 to 2 of 2

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