Search Results

Search: Posts Made By: thom.mattson
4,762
Posted By thom.mattson
Thanks gents! Both worked perfectly.
Thanks gents! Both worked perfectly.
4,762
Posted By thom.mattson
Can't figure out what field separator to use in awk....
Hi Friends,

Scripting newb here. So I'm trying to create a geektool script that uses awk and printf to output certain fields from top (namely command, cpu%, rsize, pid and time, in that order).
...
6,251
Posted By thom.mattson
Sorry if I was unclear. If I understand you...
Sorry if I was unclear. If I understand you correctly (please forgive me if I haven't), the input is something like this:

Processes: 98 total, 17 running, 3 stuck, 78 sleeping... 442 threads ...
6,251
Posted By thom.mattson
IF and awk/printf
Hi Friends,

Scripting newb here. So I'm trying to create a geektool script that uses awk and printf to output certain fields from top (namely command, cpu%, rsize, pid and time, in that order). ...
Showing results 1 to 4 of 4

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