cancel
Showing results for 
Search instead for 
Did you mean: 

linux commands more

karunesh reddy
Occasional Contributor

linux commands more

Red hat 7.2 linux

1. how can i check for how long ( in
days ,hours and mintues) has it been
since the system was last boot?

2.what command will let me check for
how many contex switches has the
kernel performed.
-
1 REPLY
Jerome Fenal_1
Valued Contributor

Re: linux commands more

Hello,

1. last (check the last reboot date), or, better : uptime

2. install the sysstat package, and setup the subsequent sar suite. vmstat command could also help you


Regards,

Jerome
Bienvenue chez moi