Memory Load; Free - Physical Memory And Swap Status - Alcatel-Lucent OpenTouch Troubleshooting Manual

Hide thumbs Also See for OpenTouch:
Table of Contents

Advertisement

Alcatel-Lucent OpenTouch R1.x Troubleshooting guide
ps auxwww
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 10352 696 ? Ss Oct20 0:02 init [3]
...
root 398 0.0 0.1 249024 27824 ? Sl Oct20 3:12 /opt/Alcatel-
Lucent/jdk/bin/java -server -Xmx96m -Decc.applicationName=ompinfra -
Dlog4j.configuration=/opt/Alcatel-Lucent/starter/traces.xml -
Decc.path=/opt/Alcatel-Lucent/ecc.properties -Decc.logsDir=/opt/Alcatel-
Lucent/logs com.alcatel.cmp.Starter ompinfra start
root 434 0.0 0.0 63880 1192 ? S Oct20 0:00 /bin/sh
/opt/Alcatel-Lucent/ompinfra/bin/run.sh -Decc.applicationName=ompinfra -
Decc.path=/opt/Alcatel-Lucent/ecc.properties -Decc.logsDir=/opt/Alcatel-
Lucent/logs -Djboss.server.log.dir=/opt/Alcatel-Lucent/logs/ompinfra -c minimal
root 467 3.1 1.5 637360 262212 ? Sl Oct20 222:28 /opt/Alcatel-
Lucent/jdk/bin/java -Dprogram.name=run.sh -server -Xms128m -Xmx256m -
XX:MaxPermSize=128m -Dorg.jboss.resolver.warning=true -
Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -
Djboss.platform.mbeanserver -Djava.net.preferIPv4Stack=true -
Djava.endorsed.dirs=/opt/Alcatel-Lucent/ompinfra/lib/endorsed -classpath
/opt/Alcatel-Lucent/ompinfra/bin/run.jar:/opt/Alcatel-Lucent/jdk/lib/tools.jar
org.jboss.Main -Decc.applicationName=ompinfra -Decc.path=/opt/Alcatel-
Lucent/ecc.properties -Decc.logsDir=/opt/Alcatel-Lucent/logs -
Djboss.server.log.dir=/opt/Alcatel-Lucent/logs/ompinfra -c minimal
Checks: Look for important VSZ, %CPU and %MEM results. Match application names and PIDs.
Sample output 2:
ps -edf
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 Oct20 ? 00:00:02 init [3]
...
htuser 605 28260 4 16:38 ? 00:03:18 /opt/Alcatel-
Lucent/apache/bin/httpd -DFORCE_SSL_ALL -DACS -d /opt/Alcatel-Lucent/apache -f
/opt/Alcatel-Lucen
t/apache/conf/httpd.conf -E /opt/Alcatel-Lucent/logs/apache/apache_start.log -k
start
...
Checks: Look for dependencies, each process is started by a father. The init process has PID number 1 so it
will father many processes. In the sample output above, PID 605 has been started by PID 28260. Processes
IDs are re-used so a higher number is not always a more recent process.
In order to list the processes sorted by their memory virtual size, use the following command:
ps –auxww | sort –k 5 –rn > list_of_processes
The file list_of_processes will contain the list of processes and their virtual memory size. The first process in
the list will be the one with the biggest virtual memory size.
20.4

Memory load

See also
top

20.4.1 free - Physical memory and swap status

User: htuser
Command: free –m (to display the size in Megabytes)
Sample output:
Total
Mem:
16436692
-/+ buffers/cache:
Swap:
18513912
Ed.15 / June 2013
used
free
16285400
151292
10626680
5810012
308
18513604
157/182
shared
buffers
0
315128
cached
5343592
TG0064

Advertisement

Table of Contents
loading

Table of Contents