Web Design

Archive for the ‘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 l[...]


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.[...]


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[...]


Check fragmentation levels on EXT3 files

During time, even Linux systems suffer from file fragmentation. To check the file fragmentation level of a certain file use filefrag -v filename [...]