Sponsored Content
Top Forums Shell Programming and Scripting how can i extract only the Memory line from top command ? Post 302106944 by inquirer on Tuesday 13th of February 2007 09:46:46 AM
Old 02-13-2007
use the -d option then just use awk or grep to get the value of the memory
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

unix top command (memory usage)

in unix when i use top i get an output like this: load averages: 0.64, 0.57, 0.53 14:04:42 347 processes: 1 running, 1 waiting, 169 sleeping, 172 idle, 4 stopped CPU states: 16.4% user, 2.8% nice, 7.6%... (2 Replies)
Discussion started by: gfhgfnhhn
2 Replies

2. Programming

top command line utility

I'm writing a monitoring application. I'd like to periodically get the information provided by the 'top' command line utility from within my code and write the output of 'top' to a file. Wondering if anyone has already done something like this. Doing system("top > someFile"); does not create... (6 Replies)
Discussion started by: antoniomorandi
6 Replies

3. AIX

Command to find TOP 5 Memory consuming process

HI All, Can anyone send me a command to find TOP 5 Memory consuming process. It would be lelpful if I get output something like below processname - pid - memory(in MB) - command I tried few commands from the internet but the result only give the real memory usage or pagging, I want total... (4 Replies)
Discussion started by: bce_groups
4 Replies

4. AIX

Need a list of top 10 CPU using processes (also top 10 memory hogs, separately)

Okay, I am trying to come up with a multi-platform script to report top ten CPU and memory hog processes, which will be run by our enterprise monitoring application as an auto-action item when the CPU and Memory utilization gets reported as higher than a certain threshold I use top on other... (5 Replies)
Discussion started by: thenomad
5 Replies

5. Shell Programming and Scripting

Command to find the Memory and CPU utilization using 'top' command

Hi all, I found like top command could be used to find the Memory and CPU utilization. But i want to know how to find the Memory and CPU utilization for a particular user using top command. Thanks in advance. Thanks, Ananthi.U (2 Replies)
Discussion started by: ananthi_ku
2 Replies

6. Shell Programming and Scripting

Extract header from top command output

hi, I want to extract and save the cpu(s) information from top command output, but individual cpu statistics separately on a multi-processor machine. In command line, top will show this statistics when we press the switch "1". any ideas? thanks, meharo (3 Replies)
Discussion started by: meharo
3 Replies

7. Solaris

Free memory in top and prstat command

Hi Export, i execute 'top' command to show the free memory in Solaris host, but the read is much lower than the RSS value shown in prstat command. Which one can reflect the real status and it is possible the difference caused by any patch of OS? Top command (only 883 memory is free)... (3 Replies)
Discussion started by: eiga
3 Replies

8. UNIX Desktop Questions & Answers

How do you reverse terminal command line to the top?

Hi All, I work on a Linux platform which runs Red Hat (forget which version) and use both korn and bash shells. Is there a way of making the command line appear at the top of the terminal window and any lists, commands or directory names etc to appear below the top, that is to say reverse the... (1 Reply)
Discussion started by: ray_m
1 Replies

9. Shell Programming and Scripting

Retrieve RAM memory size from "top" command output

Hi, I am trying to get the system RAM size from "top" command's output by the following but it is not working. top | sed "s/^Mem.**\(*\), *//" (10 Replies)
Discussion started by: royalibrahim
10 Replies

10. Red Hat

How to find memory taken by a process using top command?

I wanted to know how to find the memory taken by a process using top command. The output of the top command is as follows as an example: Mem: 13333364k total, 13238904k used, 94460k free, 623640k buffers Swap: 25165816k total, 112k used, 25165704k free, 4572904k cached PID USER ... (6 Replies)
Discussion started by: RHCE
6 Replies
intltoolize(1)							   User Commands						    intltoolize(1)

NAME
intltoolize - prepare a source code tree to use the intltool utilities SYNOPSIS
intltoolize [--automake] [--copy] [--debug] [--dry-run] [--force] [--help] [--version] DESCRIPTION
intltoolize prepares a package to use the intltool utilities. intltoolize links or copies various files needed by the intltool utilities to the appropriate location, for use when building the package. You must change your working directory to the top-level directory of the pack- age before running intltoolize. OPTIONS
The following options are supported: --automake Work silently, and assume that Automake is in use. --copy Copy files, instead of creating symbolic links to the files. You can also use -c to specify this option. --debug Enable verbose shell tracing. --dry-run Print the commands but do not run the commands. You can also use -n to specify this option. --force Replace existing files. You can also use -f to specify this option. --help Show usage and basic help information. --version Show version information. EXAMPLES
Example 1: Using intltoolize and the intltool Utilities To use intltoolize and the intltool utilities, perform the following steps: 1. Install intltool. Ensure that the macro installed by intltool is in the aclocal path, or run the following command example% export ACLOCAL_FLAGS='-I /usr/local/share/aclocal' 2. Add the following lines to the autogen.sh file, after the call to gettextize: echo "Running intltoolize" intltoolize --copy --force --automake 3. Add the following line to the configure.in file, near the top of the file: AC_PROG_INTLTOOL([minimum required version]) 4. Add intltool-extract.in, intltool-merge.in, and intltool-update.in to the EXTRA_DIST entry in your top-level Makefile.am file, and also to the top-level .cvsignore file. Also add the non-.in versions to the .cvsignore file. 5. Remove the po/desk.pl and po/update.* scripts, if present in your source tree. The intltool-update utility will perform equivalent functions. At this point, translatable strings will be automatically extracted to the .po files. EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/intltoolize The command-line executable for the application. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-common-devel | +-----------------------------+-----------------------------+ |Interface stability |External | +-----------------------------+-----------------------------+ SEE ALSO
intltool-extract(1), intltool-merge(1), intltool-prepare(1), intltool-unicodify(1), intltool-update(1) NOTES
For more information, see the I18N-HOWTO file, which is provided with the intltool source code. Updated by Damien Donlon, Sun Microsystems Inc., 2003. Written by Darin Adler, Kenneth Christiansen, Maciej Stachowiak. SunOS 5.10 3 Apr 2003 intltoolize(1)
All times are GMT -4. The time now is 03:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy