Sponsored Content
Operating Systems AIX "too big" and "not enough memory" errors in shell script Post 302285599 by jerardfjay on Monday 9th of February 2009 09:50:14 AM
Old 02-09-2009
Question

Quote:
Originally Posted by bakunin
Hmm, when a command as small as "/usr/bin/rm" does not fit into memory any more (as per your first post here) there is something seriously wrong.

bakunin
Bakunin,

I concur too. I am not sure what is causing these errors and they seem to last for a couple of minutes and then they would not appear for the rest of the day. Then they would not occur for a couple of days and then they would prop up. Seems very strange. We do have java processes that are event driven by MQ. In fact our MQ itself has a java wrapper around it. Since I am not a root user I will post everything except svmon -G output.
Here are the rest of the outputs that you

Code:
ps -ef | grep java
     xxx 140596 140870   0 09:12:51      -  0:01 /usr/java131/jre/sh/java -mx256m -ms64m abcde.xx.yy.gpc.gco.cm.mqft.dispatcher.MqftDispatcherProgram /appl01/GPC/conf/mqft.disp.cfg
 userid 156590 135086   0 09:13:01  pts/5  0:00 grep java

Code:
 vmstat -v
              3670016 memory pages
              3570524 lruable pages
               252061 free pages
                    1 memory pools
               222137 pinned pages
                 80.1 maxpin percentage
                  3.0 minperm percentage
                 80.0 maxperm percentage
                 79.9 numperm percentage
              2856298 file pages
                  0.0 compressed percentage
                    0 compressed pages
                 79.9 numclient percentage
                 80.0 maxclient percentage
              2856298 client pages
                    0 remote pageouts scheduled
                10520 pending disk I/Os blocked with no pbuf
                    0 paging space I/Os blocked with no psbuf
                 3026 filesystem I/Os blocked with no fsbuf
                    0 client filesystem I/Os blocked with no fsbuf
                39249 external pager filesystem I/Os blocked with no fsbuf

Code:
 lsps -a
Page Space      Physical Volume   Volume Group    Size %Used Active  Auto  Type
hd6             hdisk45           rootvg        6144MB     1     yes   yes    lv

As soon as I can get one of the UNIX admins to work with me on the svmon -G command I will post the results of that command as well. Thank you for your comments.

Jerardfjay
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

No utpmx entry: you must exec "login" from lowest level "shell"

Hi I have installed solaris 10 on an intel machine. Logged in as root. In CDE, i open terminal session, type login alex (normal user account) and password and i get this message No utpmx entry: you must exec "login" from lowest level "shell" :confused: What i want is: open various... (0 Replies)
Discussion started by: peterpan
0 Replies

2. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

3. Linux

Help req for...shell script to catch "db2 connect" errors ...

Hello friends, Assume that, I am trying to execute a "db2 connect" command from Linux shell prompt via a shell script called "sample" sample db2 connect to bas39 $sample If the database is not present its should display a custom error message by catching the error message given by db2.... (1 Reply)
Discussion started by: frozensmilz
1 Replies

4. Shell Programming and Scripting

cat $como_file | awk /^~/'{print $1","$2","$3","$4}' | sed -e 's/~//g'

hi All, cat file_name | awk /^~/'{print $1","$2","$3","$4}' | sed -e 's/~//g' Can this be done by using sed or awk alone (4 Replies)
Discussion started by: harshakusam
4 Replies

5. 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

6. Shell Programming and Scripting

how to use "cut" or "awk" or "sed" to remove a string

logs: "/home/abc/public_html/index.php" "/home/abc/public_html/index.php" "/home/xyz/public_html/index.php" "/home/xyz/public_html/index.php" "/home/xyz/public_html/index.php" how to use "cut" or "awk" or "sed" to get the following result: abc abc xyz xyz xyz (8 Replies)
Discussion started by: timmywong
8 Replies

7. 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

8. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

9. 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
WMMEMLOAD(1)						      General Commands Manual						      WMMEMLOAD(1)

NAME
wmmemload - A dockapp to monitor memory/swap usages SYNOPSIS
wmmemload [options] DESCRIPTION
This manual page documents briefly the wmmemload command. WMMemLoad is a program to monitor memory/swap usages. It is a dockapp that is supported by X window managers such as Window Maker, After- Step, BlackBox, and Enlightenment. The current memory usage is displayed in the top half. The swap usage is in the bottom half. It has an LCD look-alike user interface. The back-light may be turned on/off by clicking the mouse button over the appliacation. If the usage hits a certain threshold, an alarm-mode will alert you by turning on back-light. OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. -d, --display <string> Attempt to open a window on the named X display. In the absence of this option, the display specified by the DISPLAY environment variable is used. -bl, --backlight turn on back-light. -lc, --light-color <color> back-light color. (rgb:6E/C6/3B is default) -i, --interval <number> number of secs between updates. (1 is default) -b, --ignore-buffers ignore buffers. (GNU/Linux) -c, --ignore-cached ignore cached pages. (GNU/Linux / FreeBSD) -wr, --ignore-wired ignore wired pages. (FreeBSD) -h, --help show help text and exit. -v, --version show program version and exit. -w, --windowed run the application in windowed mode -bw, --broken-wm activate broken window manager fix -am, --alarm-mem <percentage> activate alarm mode of memory. <percentage> is threshold of percentage from 0 to 100.(90 is default) -as, --alarm-swap <percentage> activate alarm mode of swap. <percentage> is threshold of percentage from 0 to 100.(50 is default) AUTHOR
WMMemLoad was assembled by Mark Staggs <me@markstaggs.net>. It is largely based on WMMemMon and WMCPULoad by Seiichi SATO <ssato@sh.rim.or.jp>. April 3, 2002 WMMEMLOAD(1)
All times are GMT -4. The time now is 12:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy