Here are a few commands that will help you find memory usage on an Ubuntu system: top -o +%MEM cat /proc/meminfo free -m ps -e -o pid,vsz,comm= | sort -n -k 2
Tag: Ubuntu
Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=642
Jan 24 2014
Some find commands
Some quick find examples find in current directory all files that have size greater than 0 find . -type f -size +1 -exec ls -la {} \; find in current directory all files that have size less than or equal to 0 find . -type f -size -1 -exec ls -la {} \; …
Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=237
Jan 24 2014
Copy directory from local host to remote host
Here is a simple and secure way to copy a directory structure from a local host to a remote host: # tar -czf – . | ssh root@ubuntu “(cd /mnt/tegile;tar -xpzf -)” The – repersents stdin The . means current directory
Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=233
Jan 06 2014
How do I add a DNS server via resolv.conf in Ubuntu
If you really want to add more entries to /etc/resolv.conf, create a /etc/resolvconf/resolv.conf.d/tail and add them there. root@speedy:/etc/resolvconf/resolv.conf.d# cat tail domain csuohio.edu. search csuohio.edu. nameserver 8.8.8.8
Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=137
Dec 19 2013
How to Increase Linux VM ext4 File System
If you have ever created a Linux VM guest and made the ext4 root disk too small, there is a pretty simple way to increase the size of the disk. The following will outline those steps. Sections in blue are what you would type: Edit the settings in vSphere for the VM increase the size …
Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=52