Published February 10, 2018 by

System Monitoring and Basic Command for Linux

System monitoring command

# uptime


as per the above output, the system is running from 4 hours and 52 minutes





# w

as per the above output, the system is running from 4 hours and 52 minutes.

# last reboot


The above output shows that the system was last rebooted on Feb 10 at 10:37 AM

Restart/shutdown command


# reboot

To restart Server


# shutdown -r now 

To shutdown system


# shutdown -r 10

To shutdown system after 10 minutes


# shutdown -r 12:30 "System is going to Reboot..."

Reboot server at 12:30 PM with displaying a message to a user.

Some Basic Command

# date
OR
#date +%d-%Y-%H-%M


To see the date of the system and for particular format

# cal
OR
# cal 05 2014

To see the current month calendar and To display the calendar, Month and year


# who
OR 
# who am i




To see all who are logged in yet this point of time from which IP  

# uname -a


Verify Operating system version, kernel version, and architecture

# hwclock


To see detailed date and time with time zone

# last


To see detailed date and time with time zone

# arch

To know architecture