Sponsored Content
Top Forums Shell Programming and Scripting Retrieve RAM memory size from "top" command output Post 302494658 by michaelrozar17 on Tuesday 8th of February 2011 02:32:13 AM
Old 02-08-2011
Are you looking for an output like this.. Mem: 1025740k from the top command..?
Code:
top | sed -n '/Mem/s/ [a-z]\+.*//p'

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Command for "Resident memory Size"

Hi Everyone.- Coul you tell me how to obtain the "Resident memory size" for any program runs on Dec TRU64 machine. What is the command in order to obtaing this value?? Best Regards Cristobal (1 Reply)
Discussion started by: Cristobal Perez
1 Replies

2. Debian

Debian: doubt in "top" %CPU and "sar" output

Hi All, I am running my application on a dual cpu debian linux 3.0 (2.4.19 kernel). For my application: <sar -U ALL> CPU %user %nice %system %idle ... 10:58:04 0 153.10 0.00 38.76 0.00 10:58:04 1 3.88 0.00 4.26 ... (0 Replies)
Discussion started by: jaduks
0 Replies

3. Fedora

Piping output of "top" to a text file

I would like to pipe "top -n" to a text file, but I get an error: top: cannot open /dev/kmem kvm_open: Permission denied I am a non-root user. If I could find a way to get this type of output: "Memory: 2048M real, 1516M free, 4099M swap free" into a text file, I could further automate... (13 Replies)
Discussion started by: safraser
13 Replies

4. UNIX for Dummies Questions & Answers

Command Character size limit in the "sh" and "bourne" shell

Hi!!.. I would like to know what is maximum character size for a command in the "sh" or "bourne" shell? Thanks in advance.. Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies

5. UNIX for Advanced & Expert Users

Command Character size limit in the "sh" and "bourne" shell

Hi!!.. I would like to know what is maximum character size for a command in the "sh" or "bourne" shell? Thanks in advance.. Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies

6. Shell Programming and Scripting

Command Character size limit in the "sh" and "bourne" shell

Hi!!.. I would like to know what is maximum character size for a command in the "sh" or "bourne" shell? Thanks in advance.. Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies

7. UNIX for Dummies Questions & Answers

Explanation of "total" field in "ls -l" command output

When I do a listing in one particular directory (ls -al) I get: total 43456 drwxrwxrwx 2 root root 4096 drwxrwxrwx 3 root root 4096 -rwxrwxr-x 1 nobody nobody 3701594 -rwxrwxr-x 1 nobody nobody 3108510 -rwxrwxr-x 1 nobody nobody 3070580 -rwxrwxr-x 1 nobody nobody 3099733 -rwxrwxr-x 1... (1 Reply)
Discussion started by: proactiveaditya
1 Replies

8. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

9. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

10. AIX

Apache 2.4 directory cannot display "Last modified" "Size" "Description"

Hi 2 all, i have had AIX 7.2 :/# /usr/IBMAHS/bin/apachectl -v Server version: Apache/2.4.12 (Unix) Server built: May 25 2015 04:58:27 :/#:/# /usr/IBMAHS/bin/apachectl -M Loaded Modules: core_module (static) so_module (static) http_module (static) mpm_worker_module (static) ... (3 Replies)
Discussion started by: penchev
3 Replies
DateTime::Locale::ee_TG(3)				User Contributed Perl Documentation				DateTime::Locale::ee_TG(3)

NAME
DateTime::Locale::ee_TG SYNOPSIS
use DateTime; my $dt = DateTime->now( locale => 'ee_TG' ); print $dt->month_name(); DESCRIPTION
This is the DateTime locale package for Ewe Togo. DATA
This locale inherits from the DateTime::Locale::ee locale. It contains the following data. Days Wide (format) DzoXa BraXa KuXa YawoXa FiXa MemleXa KXsiXa Abbreviated (format) Dzo Bra KuX Yaw FiX Mem KXs Kwe Narrow (format) D B K Y F M K Wide (stand-alone) DzoXa BraXa KuXa YawoXa FiXa MemleXa KXsiXa Abbreviated (stand-alone) Dzo Bra KuX Yaw FiX Mem KXs Kwe Narrow (stand-alone) D B K Y F M K Months Wide (format) Dzove Dzodze Tedoxe AfXfiX Dama Masa SiamlXm Deasiamime AnyXnyX Kele AdeXmekpXxe Dzome Abbreviated (format) Dzv Dzd Ted AfX Dam Mas Sia Dea Any Kel Ade Dzm Narrow (format) D D T A D M S D A K A D Wide (stand-alone) Dzove Dzodze Tedoxe AfXfiX Dama Masa SiamlXm Deasiamime AnyXnyX Kele AdeXmekpXxe Dzome Abbreviated (stand-alone) Dzv Dzd Ted AfX Dam Mas Sia Dea Any Kel Ade Dzm Narrow (stand-alone) D D T A D M S D A K A D Quarters Wide (format) Q1 Q2 Q3 Q4 Abbreviated (format) Q1 Q2 Q3 Q4 Narrow (format) 1 2 3 4 Wide (stand-alone) Q1 Q2 Q3 Q4 Abbreviated (stand-alone) Q1 Q2 Q3 Q4 Narrow (stand-alone) 1 2 3 4 Eras Wide Hafi Yesu Va Do XgX na Yesu Yesu XXli Abbreviated HY YX Narrow HY YX Date Formats Full 2008-02-05T18:30:30 = BraXa, 2008 Dzodze 05 1995-12-22T09:05:02 = FiXa, 1995 Dzome 22 -0010-09-15T04:44:23 = MemleXa, -10 AnyXnyX 15 Long 2008-02-05T18:30:30 = 2008 Dzodze 5 1995-12-22T09:05:02 = 1995 Dzome 22 -0010-09-15T04:44:23 = -10 AnyXnyX 15 Medium 2008-02-05T18:30:30 = 2008 Dzd 5 1995-12-22T09:05:02 = 1995 Dzm 22 -0010-09-15T04:44:23 = -10 Any 15 Short 2008-02-05T18:30:30 = 08/02/05 1995-12-22T09:05:02 = 95/12/22 -0010-09-15T04:44:23 = -10/09/15 Default 2008-02-05T18:30:30 = 2008 Dzd 5 1995-12-22T09:05:02 = 1995 Dzm 22 -0010-09-15T04:44:23 = -10 Any 15 Time Formats Full 2008-02-05T18:30:30 = 18:30:30 UTC 1995-12-22T09:05:02 = 09:05:02 UTC -0010-09-15T04:44:23 = 04:44:23 UTC Long 2008-02-05T18:30:30 = 18:30:30 UTC 1995-12-22T09:05:02 = 09:05:02 UTC -0010-09-15T04:44:23 = 04:44:23 UTC Medium 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 09:05:02 -0010-09-15T04:44:23 = 04:44:23 Short 2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 09:05 -0010-09-15T04:44:23 = 04:44 Default 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 09:05:02 -0010-09-15T04:44:23 = 04:44:23 Datetime Formats Full 2008-02-05T18:30:30 = BraXa, 2008 Dzodze 05 18:30:30 UTC 1995-12-22T09:05:02 = FiXa, 1995 Dzome 22 09:05:02 UTC -0010-09-15T04:44:23 = MemleXa, -10 AnyXnyX 15 04:44:23 UTC Long 2008-02-05T18:30:30 = 2008 Dzodze 5 18:30:30 UTC 1995-12-22T09:05:02 = 1995 Dzome 22 09:05:02 UTC -0010-09-15T04:44:23 = -10 AnyXnyX 15 04:44:23 UTC Medium 2008-02-05T18:30:30 = 2008 Dzd 5 18:30:30 1995-12-22T09:05:02 = 1995 Dzm 22 09:05:02 -0010-09-15T04:44:23 = -10 Any 15 04:44:23 Short 2008-02-05T18:30:30 = 08/02/05 18:30 1995-12-22T09:05:02 = 95/12/22 09:05 -0010-09-15T04:44:23 = -10/09/15 04:44 Default 2008-02-05T18:30:30 = 2008 Dzd 5 18:30:30 1995-12-22T09:05:02 = 1995 Dzm 22 09:05:02 -0010-09-15T04:44:23 = -10 Any 15 04:44:23 Available Formats d (d) 2008-02-05T18:30:30 = 5 1995-12-22T09:05:02 = 22 -0010-09-15T04:44:23 = 15 EEEd (d EEE) 2008-02-05T18:30:30 = 5 Bra 1995-12-22T09:05:02 = 22 FiX -0010-09-15T04:44:23 = 15 Mem Hm (H:mm) 2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 9:05 -0010-09-15T04:44:23 = 4:44 hm (h:mm a) 2008-02-05T18:30:30 = 6:30 EW 1995-12-22T09:05:02 = 9:05 AN -0010-09-15T04:44:23 = 4:44 AN Hms (H:mm:ss) 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 9:05:02 -0010-09-15T04:44:23 = 4:44:23 hms (h:mm:ss a) 2008-02-05T18:30:30 = 6:30:30 EW 1995-12-22T09:05:02 = 9:05:02 AN -0010-09-15T04:44:23 = 4:44:23 AN M (L) 2008-02-05T18:30:30 = 2 1995-12-22T09:05:02 = 12 -0010-09-15T04:44:23 = 9 Md (M-d) 2008-02-05T18:30:30 = 2-5 1995-12-22T09:05:02 = 12-22 -0010-09-15T04:44:23 = 9-15 MEd (E, M-d) 2008-02-05T18:30:30 = Bra, 2-5 1995-12-22T09:05:02 = FiX, 12-22 -0010-09-15T04:44:23 = Mem, 9-15 MMM (LLL) 2008-02-05T18:30:30 = Dzd 1995-12-22T09:05:02 = Dzm -0010-09-15T04:44:23 = Any MMMd (MMM d) 2008-02-05T18:30:30 = Dzd 5 1995-12-22T09:05:02 = Dzm 22 -0010-09-15T04:44:23 = Any 15 MMMEd (E MMM d) 2008-02-05T18:30:30 = Bra Dzd 5 1995-12-22T09:05:02 = FiX Dzm 22 -0010-09-15T04:44:23 = Mem Any 15 MMMMd (MMMM d) 2008-02-05T18:30:30 = Dzodze 5 1995-12-22T09:05:02 = Dzome 22 -0010-09-15T04:44:23 = AnyXnyX 15 MMMMEd (E MMMM d) 2008-02-05T18:30:30 = Bra Dzodze 5 1995-12-22T09:05:02 = FiX Dzome 22 -0010-09-15T04:44:23 = Mem AnyXnyX 15 ms (mm:ss) 2008-02-05T18:30:30 = 30:30 1995-12-22T09:05:02 = 05:02 -0010-09-15T04:44:23 = 44:23 y (y) 2008-02-05T18:30:30 = 2008 1995-12-22T09:05:02 = 1995 -0010-09-15T04:44:23 = -10 yM (y-M) 2008-02-05T18:30:30 = 2008-2 1995-12-22T09:05:02 = 1995-12 -0010-09-15T04:44:23 = -10-9 yMEd (EEE, y-M-d) 2008-02-05T18:30:30 = Bra, 2008-2-5 1995-12-22T09:05:02 = FiX, 1995-12-22 -0010-09-15T04:44:23 = Mem, -10-9-15 yMMM (y MMM) 2008-02-05T18:30:30 = 2008 Dzd 1995-12-22T09:05:02 = 1995 Dzm -0010-09-15T04:44:23 = -10 Any yMMMEd (EEE, y MMM d) 2008-02-05T18:30:30 = Bra, 2008 Dzd 5 1995-12-22T09:05:02 = FiX, 1995 Dzm 22 -0010-09-15T04:44:23 = Mem, -10 Any 15 yMMMM (y MMMM) 2008-02-05T18:30:30 = 2008 Dzodze 1995-12-22T09:05:02 = 1995 Dzome -0010-09-15T04:44:23 = -10 AnyXnyX yQ (y Q) 2008-02-05T18:30:30 = 2008 1 1995-12-22T09:05:02 = 1995 4 -0010-09-15T04:44:23 = -10 3 yQQQ (y QQQ) 2008-02-05T18:30:30 = 2008 Q1 1995-12-22T09:05:02 = 1995 Q4 -0010-09-15T04:44:23 = -10 Q3 yyQ (Q yy) 2008-02-05T18:30:30 = 1 08 1995-12-22T09:05:02 = 4 95 -0010-09-15T04:44:23 = 3 -10 Miscellaneous Prefers 24 hour time? Yes Local first day of the week DzoXa SUPPORT
See DateTime::Locale. AUTHOR
Dave Rolsky <autarch@urth.org> COPYRIGHT
Copyright (c) 2008 David Rolsky. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. This module was generated from data provided by the CLDR project, see the LICENSE.cldr in this distribution for details on the CLDR data's license. perl v5.16.2 2013-08-25 DateTime::Locale::ee_TG(3)
All times are GMT -4. The time now is 11:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy