Sponsored Content
Full Discussion: how to check memory usage ?
Operating Systems Linux how to check memory usage ? Post 302503714 by truecall on Friday 11th of March 2011 11:46:03 AM
Old 03-11-2011
Well removing high load on a web application really depends on many things. Poor coding, lots of traffic, how you have sql setup will all play a role in performance.

I would check the php-cgi application.

Are you getting a lot of web traffic?

Run the below command and report with what you see:

Code:
ps auxw| awk '{print $6" "$0}' | grep MEM | grep -v grep && ps auxw| awk '{print $6" "$0}' | sort -n | tail -5

---------- Post updated at 10:46 AM ---------- Previous update was at 10:38 AM ----------

Take a look at this interesting URL
 

10 More Discussions You Might Find Interesting

1. Programming

Monitor CPU usage and Memory Usage

how can i monitor usages of CPU, Memory, Hard disk etc. under SUN Solaries through a c program or java program i want to store that data into database so i can show it graphically thanks in advance (2 Replies)
Discussion started by: Gajanad Bihani
2 Replies

2. Programming

how to use ioctl to check out memory usage

Hi all, I tried to output memory usage information while the process is executing at a particular time. I found out some people suggesting calling the ioctl. I followed it and wrote a test example: #include <unistd.h> #include <stdlib.h> #include <iostream.h> #include <fcntl.h> #include... (2 Replies)
Discussion started by: lanchen
2 Replies

3. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

4. Solaris

current CPU usage, memory usage, disk I/O oid(snmp)

Hi, I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP. I want the oids for above tasks. can you please tell me that Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies

5. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

6. UNIX for Dummies Questions & Answers

Command to display the space usage (memory usage) of a specific directory.

Hi all, Can you please tell me the command, with which one can know the amount of space a specific directory has used. df -k . ---> Displays, the amount of space allocated, and used for a directory. du -k <dir name> - gives me the memory used of all the files inside <dir> But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies

7. AIX

Script to check the memory usage in AIX

Hello Everyone, I'm looking for a efficient script that monitors the memory usage on AIX and send email alerts when it reaches certain point. Q) need to get alerts, when the memory usage exceed 90% on AIX? or Q) Need to get alerts when available free Memory is 1G or 10% etc Any idea... (3 Replies)
Discussion started by: System Admin 77
3 Replies

8. UNIX for Dummies Questions & Answers

Memory usage per user,percent usage,sytem time in ksh

Let's say i have 20 users logged on Server. How can I know how much memory percent used each of them is using with system time in each user? (2 Replies)
Discussion started by: roy1912
2 Replies

9. Solaris

Memory Usage check

Hello Friends, I need to check memory usage & availability before I could run a program if there is enough memory is left or not, so how could i achieve this? Which command output i should rely on? I have diplayed outputs of SAR, VMstat and PRstat commands below, But how could i check memory... (8 Replies)
Discussion started by: EAGL€
8 Replies

10. UNIX for Beginners Questions & Answers

How can I check actual memory usage each Process?

I can't check actual memory usage in the Redhat 5.5... The used memory is 14214 Mb of Total 15919 by Free -m command. I sum the RSS value on PS aux command result and the value is 5428.66Mb. Yes It's quite different actual usage memory and RSS value. So I added Shared memory value... (5 Replies)
Discussion started by: tom8254
5 Replies
pilot-getram(1) 						    PILOT-LINK							   pilot-getram(1)

NAME
pilot-getram - Retrieves the RAM image from your Palm device for use in debugging. SECTION
pilot-link: Tools SYNOPSIS
pilot-getram [-p|--port <port>] [--version] [-q|--quiet] [-?|--help] [--usage] [-t|--token token] [-s|--sysinfo] [--ram] [--rom] [file- name] DESCRIPTION
pilot-getram is used to fetch the current RAM image from your Palm handheld for use in debugging. pilot-getromtoken, pilot-getrom and pilot-getram are inter-related. All relevant code is implemented in pilot-getrom, and you can do pilot-getromtoken --ram filename to get the RAM dump if you like. Note, because pilot-getrom uses the low-level RPC protocol to fetch the ROM image, and the new OS5 devices do not use this protocol, you currently cannot fetch an OS5 ROM image using this utility. This will be updated in a future release to handle fetching OS5 ROM images, using the debugger protocol. OPTIONS
pilot-getram options -t, --token token A ROM token to read (i.e. snum) -s, --sysinfo Print SysInfo --ram Read RAM --rom Read ROM <filename> Write the RAM image to the file named by <filename>. If this is omitted, the filename will be written out as the RAM version name as fol- lows: ' pilot-$VERSION.ram ', where an OS 3.5 image would be written as the filename of 'pilot-3.5.0.ram'. Conduit Options -p, --port <port> Use device file <port> to communicate with the Palm handheld. If this is not specified, pilot-getram will look for the $PILOTPORT environ- ment variable. If neither are found or supplied, pilot-getram will print the usage information. -q, --quiet Suppress 'Hit HotSync button' message -v, --version Display version of pilot-getram and exit without connecting. Help Options -h, --help Display the help synopsis for pilot-getram and exit without connecting. --usage Display a brief usage message and exit without connecting. USAGE
Connect to a target Palm handheld and fetch the RAM from the device. AUTHOR
pilot-getram was originally written by Kenneth Albanowski. This manual page was converted to XML by Neil Williams <linux@codehelp.co.uk> REPORTING BUGS
We have an online bug tracker. Using this is the only way to ensure that your bugs are recorded and that we can track them until they are resolved or closed. Reporting bugs via email, while easy, is not very useful in terms of accountability. Please point your browser to http://bugs.pilot-link.org: http://bugs.pilot-link.org and report your bugs and issues there. COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. SEE ALSO
pilot-getrom (1), pilot-link(7). 0.12.5 Copyright 1996-2007 FSF pilot-getram(1)
All times are GMT -4. The time now is 08:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy