Category Archives: System

Take a screenshot of a remote desktop in Linux

If you want to take a screenshot of a remote Linux desktop, all you need is to change the command below to match the remote desktop you wish to take a screenshot of: DISPLAY=”:0.0″ import -window root screenshot.png

Use locate across external devices in Linux

By default, updatedb indexes only your root partition when run. To be able to extend locate‘s reach and get updatedb to index external devices such as USB harddisks and flash drives, edit the /etc/updatedb.conf file. Modify the following line: PRUNEPATHS=”/tmp /var/spool /media” so that it reads PRUNEPATHS=”/tmp /var/spool” This adds the devices mounted in the… Read More »

Take screenshots from the command line in Linux

There are many Linux applications dedicated to taking screenshots. However, you minght want to use the command line to do this, either because you want to build an automated script, or because you have a terminal screen handy.Try import screenshot.jpg This will allow you to select a rectangle using your mouse. The moment you let… Read More »

Realtime statistics of your Linux system

If you wish to monitor your Linux system in realtime, use dstat. Use a man dstat to see a list of possible options, since they are extensive and dstat can output system usage, memory usage, load times, network information, NFS, therman, VMWare, CPU, sendmail and MySQL usage, among others.Try dstat -tamn -M topcpu where -tamn… Read More »