unix

How do I extend the terminal width or set term variables with ksh? / Not Getting the full command info from ps in Unix terminal ?

To identify processes to kill we need to view the FULL output from the ps command (we use the comm field). But by default we are not able to view full command.  So here is the solution.. Solaris : /usr/ucb/ps -awux You may need two “w” options. From ps(1b): -w Uses a wide output format …

How do I extend the terminal width or set term variables with ksh? / Not Getting the full command info from ps in Unix terminal ? Read More »

How do I extend the terminal width or set term variables with ksh? / Not Getting the full command info from ps in Unix terminal ?

To identify processes to kill we need to view the FULL output from the ps command (we use the comm field). But by default we are not able to view full command.  So here is the solution.. Solaris : /usr/ucb/ps -awux You may need two “w” options. From ps(1b): -w Uses a wide output format …

How do I extend the terminal width or set term variables with ksh? / Not Getting the full command info from ps in Unix terminal ? Read More »

Compaq Tru64 UNIX: Setting up Standard File Systems

The following table shows the variables and their corresponding values. Variables in Standard File Systems   Variable Description <diskname> Full path of a disk, for example, /dev/rz11c <rawdiskname> Full path of a raw disk, for example, /dev/rrz11c <disktype> Disk type, for example, rz28 <mountpointname> Full path of a mount point, for example, SAP DB: /sapdb/<SAPSID>/sapdata1 …

Compaq Tru64 UNIX: Setting up Standard File Systems Read More »

Unix Sort by IP Address

[root@sunx4150 ~]# cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 10.1.50.101             sunx4150.xyz.com localhost.localdomain localhost 127.0.0.1               sunx4150.xyz.com localhost.localdomain localhost 10.0.51.50      T5220   T5220.xyz.com 10.0.50.36      ibmaix  ibmaix.xyz.com 10.0.50.9            bucnodc01.xyz.com 10.0.50.36      ibmaix.xyz.com ibmaix 10.1.50.106    ibmcl03.xyz.com     ibmcl03 10.1.51.83      nnl106.xyz.com 10.1.50.134     dbcimb01 10.0.2.20        bkonetapp1 10.112.2.101     spblrdc010 10.0.2.11        bpelapp1 [root@sunx4150 ~]# …

Unix Sort by IP Address Read More »

Scroll to Top