Search Results

Search: Posts Made By: json4639
4,431
Posted By json4639
Works great! Thanks a lot.
Works great! Thanks a lot.
4,431
Posted By json4639
combining fields in awk
I am using:

ps -A -o command,%cpu

to get process and cpu usage figures. I want to use awk to split up the columns it returns. If I use:

awk '{print "Process: "$1"\nCPU Usage: "$NF"\n"}'...
Showing results 1 to 2 of 2

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