Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
2 2 8
Impact
~35k people reached

  • 0 posts edited
  • 0 helpful flags
  • 7 votes cast
Nov
17
comment Process ID using ps aux
@ovangle- blink I never thought of it! :D thanks!
Nov
17
asked Process ID using ps aux
Oct
18
awarded  Scholar
Oct
18
accepted Finding CPU usage from top command
Oct
18
awarded  Student
Oct
18
comment Finding CPU usage from top command
Why isn't this not working(Piping both commands to make cpu.csv get updated dynamically.I'm unable to even open the cpu.csv file)- top -b -d 1 > file1.csv | grep Cpu | cut -c 35-39 | nl > cpu.csv Can someone pls help me?
Oct
18
comment Finding CPU usage from top command
Update- I'm able to top -b -d 1 > file1.csv (store it in a file) cat file1.csv | grep Cpu | cut -c 35-39 | nl > cpu.csv But the date doesn't get updated dynamically as I need to stop top command to execute the next grep.
Oct
18
asked Finding CPU usage from top command