Change crontab editor

Crontab also known as schedule task in Windows Operating System and it is very important for you to schedule your automated script run from anytime without actually taking care on those script time by time in front of your server/PC.

All of the time, vi editor have set as the default editor for crontab and if you like Mick Genie that not like vi but like nano/pico, you may actually change the editor as step below.

Method 1:

Continue reading Change crontab editor

Linux Top Process

When you used Linux top process to monitor your server/PC, you might want to know what meant by the Cpu(s) variable used in percentage.


top – 16:24:04 up 80 days, 18:23,  1 user,  load average: 0.48, 0.46, 0.44
Tasks: 226 total,   2 running, 222 sleeping,   0 stopped,   2 zombie
Cpu(s):  2.2%us,  2.5%sy,  0.4%ni, 92.0%id,  3.0%wa,  0.0%hi,  0.0%si,  0.0%st

1. us -> User CPU time: The time the CPU has spent running users’ processes that are not niced.
2. sy -> System CPU time: The time the CPU has spent running the kernel and its processes.
3. ni -> Nice CPU time: The time the CPU has spent running users’ proccess that have been niced.
4. wa -> iowait: Amount of time the CPU has been waiting for I/O to complete.
5. hi -> Hardware IRQ: The amount of time the CPU has been servicing hardware interrupts.
6. si -> Software Interrupts.: The amount of time the CPU has been servicing software interrupts.

Original Source:

Reboot Server within a network in Windows Platform

Do you ever try to reboot or shut down a server/PC within a network?

The mystery from Microsoft have done if you are running with administrator role, just try to the command as below if you could like to reboot/shutdown.

1. Open command prompt by Press Windows+R and type in cmd.
2. Type in “shutdown /m \\computername /r” if you could like to reboot.

The General format was as below:

shutdown \\computername /l /a /r /t:xxmsg” /y /c

  • \\computername: Use this switch to specify the remote computer to shut down. If you omit this parameter, the local computer name is used.
  • /l (Note that this is a lowercase “L” character): Use this switch to shut down the local computer
  • /a: Use this switch to quit a shutdown operation. You can do this only during the time-out period. If you use this switch, all other parameters are ignored.
  • /r: Use this switch to restart the computer instead of fully shutting it down.
  • /t:xx: Use this switch to specify the time (in seconds) after which the computer is shut down. The default is 20 seconds.
  • msg: Use this switch to specify a message during the shutdown process. The maximum number of characters that the message can contain is 127.
  • /y: Use this switch to force a “yes” answer to all queries from the computer.
  • /c: Use this switch quit all running programs. If you use this switch, Windows forces all programs that are running to quit. The option to save any data that may have changed is ignored. This can result in data loss in any programs for which data is not previously saved.

Within the above description you may force all of the query and etc from the command to reboot/shutdown a server/PC.

Have fun.

Article from: