Category Archives: Hardware

List Linux processes by CPU or Memory usage

You can use a one-string command in Linux to nicely display in CLI the processes that consume your CPU. Use ps -e -o pcpu,cpu,nice,state,cputime,args –sort pcpu | sed ‘/^ 0.0 /d’ and you will get something like this: %CPU CPU  NI S     TIME COMMAND 0.1   –   0 S 00:00:13 metacity 0.1   –   0 S 00:00:18 /usr/lib/thunderbird/thunderbird-bin 0.2   –  … Read More »

Copy images in Linux from the iPhone’s pictures folder

Linux applications do not yet support the newest 2.x Apple firmware for the iPhone and iPod Touch. But if you want to copy images from the Pictures folder, all you need is SSH installed on the device: scp root@192.168.1.33:/private/var/mobile/Media/DCIM/999APPLE/*.PNG ~/Desktop/ This will copy all images from an iPhone that has the 192.168.1.33 static IP directly… Read More »

Umount stubborn devices

We’ve all been there: you want to umount a certain device and you’re being told the resource is still being used. Maybe you forgot to close the Nautilus window or maybe you are still accessing the device from the command line. To find out for sure, use fuser. If, for example, you can’t umount your… Read More »