How to list the status of swap in Solaris
List the status of all swap areas. # swap -l swapfile dev swaplo blocks free dev/dsk/c0t0d0s1 32,9 16 8425712 8425712 The output has five columns: path The path name for …
Read MoreTechnology, Computer, Network and Games Cheat
Day to day technical how to – by Andrew Lin
List the status of all swap areas. # swap -l swapfile dev swaplo blocks free dev/dsk/c0t0d0s1 32,9 16 8425712 8425712 The output has five columns: path The path name for …
Read MoreIf you need to find out which file in a directory contains a specific word then the grep command is your friend. Here is an example, if you wanted to …
Read MoreI needed to determine the amount of time it would take to archive large amount of data on my unix server. If I had infinite amount of free time I …
Read MoreMy fat fingers inadvertently created a directory on my unix server with special characters. I could not access this directory nor could I delete it. When I listed the directory …
Read MoreTo change the hostname in Solaris 10 you need to edit 3 files and appply the new name. /etc/nodename /etc/hostname.*interface, e.g. hostname.bge0 /etc/inet/hosts this file is a hard link to …
Read MoreIBM had renamed the term maintenance level (ML) to technology level (TL). Here is an excerpt from IBM, “Although some systems administrators still use the term “maintenance level” when discussing …
Read MoreThe root drive on my Solaris server was full and I needed to find out what file was the largest. The du command can list the size of the files …
Read MoreI just installed Solaris 10 on a new SPARC server, now I need to migrate the userids and groups over. The optimal way to migrate the userids while retaining their …
Read MoreI got this strange error message when launching the vi text editor during the installation of Solaris 10, I don’t know what kind of terminal you are on – all …
Read MoreThe svcs command will report the status of servics in Solaris. The svcadm command is used for service management such as starting, stopping and restoring services. To display all services …
Read More