Sponsored Content
Operating Systems AIX How much memory for each process running on AIX? Post 302476550 by Beginer0705 on Thursday 2nd of December 2010 03:41:05 AM
Old 12-02-2010
How much memory for each process running on AIX?

I'm trying to figure how much memory per process is using?
I think it's the TRS column x 4k (127800 x 4).
Am I right? Any advice is greatly appreciated.

Code:
PID    TTY STAT  TIME PGIN  SIZE   RSS   LIM  TSIZ   TRS    %CPU   %MEM       COMMAND
753726      - A    13:01    0 154100 281900    xx 88783 127800  7.4  2.0         aaaa
975236      - A    12:40    0 179268 307068    xx 88783 127800  7.2  2.0         bbbb
934076      - A    12:31    0 173252 301052    xx 88783 127800  7.1  2.0         cccc
651342      - A    12:38    0 154136 281936    xx 88783 127800  7.1  2.0         dddd
840036      - A     1:02    0 18332   146132    xx 88783 127800  0.6  1.0         eeee
954714      - A     0:55    0 19776  147576    xx 88783 127800  0.5  1.0         ffff
942566      - A     0:57    0 17500  145300    xx 88783 127800  0.5  1.0         gggg
663972      - A     0:56    0 19840  147640    xx 88783 127800  0.5  1.0         hhhh

Moderator's Comments:
Mod Comment Having so many posts, you should be already familiar using code tags - you got a PM with a guide how to do that. Some less font formattings would be ok too, thank you.

Last edited by zaxxon; 12-02-2010 at 05:18 AM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

script to monitor process running on server and posting a mail if any process is dead

Hello all, I would be happy if any one could help me with a shell script that would determine all the processes running on a Unix server and post a mail if any of the process is not running or aborted. Thanks in advance Regards, pradeep kulkarni. :mad: (13 Replies)
Discussion started by: pradeepmacha
13 Replies

2. AIX

Process crashing on AIX due to memory Leak

Hi All, I have a process running on my AIX 5.3 server box. The process runs fine for 5-6days but then crashes. The log file shows malloc failure and the svmon (Virtual memory size), ps -lef (SZ value) are also gradually increasing. But unfortunately MALLOCDEBUG and any other memory debugging... (3 Replies)
Discussion started by: SBatra
3 Replies

3. Emergency UNIX and Linux Support

CPU and memory utilization of a process, by process name

Can someone please help me with a script that will help in identifying the CPU & memory usage by a process name, rather than a process id.This is to primarily analyze the consumption of resources, for performance tweaking. G (4 Replies)
Discussion started by: ggayathri
4 Replies

4. Solaris

[DOUBT] Memory high in idle process on Solaris 10 (Memory Utilization > 90%)

Hi Experts, Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing. Why memory utilization on solaris always looks high? I have statement about memory on solaris, is this true: Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies

5. Shell Programming and Scripting

Check for long running process on AIX

I want to write a shellscript which determines if a particular process is long running than my specified threshold time. Eg: My process name is "prsd" and is expected to run for 15 mins and completes. If I set a threshold limit of 1 hour, and how we can the get output of the long running... (4 Replies)
Discussion started by: chandu123
4 Replies

6. AIX

AIX 7.1 on Power 750 is very slow with no high memory or process consumption

Hi, This thread has been posted before on linuxquestions.org, but no answer, maybe because this is unix question and not linux. I'm posting the same thread here, hope I can get an answer from someone in the meantime, I wish I could post of emergency thread but it needs bits which I don't have :... (6 Replies)
Discussion started by: aLuViAn
6 Replies

7. AIX

Process, PID and total memory consumed on AIX.

Hi, Below is the code snippet I use on Linux (Centos) to retrieve the Process Name, PID and memory consumed on Linux (Centos) host:- top -b -n 1 | awk -v date="$tdydate" -v ip="$ip" 'NR>7 {print date","ip","$12,","$1,","$10}' Any idea how the same can be retrieved on an AIX host? This... (1 Reply)
Discussion started by: Vipin Batra
1 Replies

8. BSD

Process remians in Running state causing other similar process to sleep and results to system hang

Hi Experts, I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state. On doing cat /proc/<pid>wchan showing the "__init_begin" in the output. Can you please help me here... (0 Replies)
Discussion started by: naveeng
0 Replies

9. UNIX for Advanced & Expert Users

Process remians in Running state causing other similar process to sleep and results to system hang

Hi Experts, I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state. On doing cat /proc/<pid>wchan showing the "__init_begin" in the output. Can you please help me here... (1 Reply)
Discussion started by: naveeng
1 Replies

10. Shell Programming and Scripting

Command to get exact tomcat process I am running ignoring other java process

Team, I have multiple batchjobs running in VM, if I do ps -ef |grep java or tomcat I am getting multiple process list. How do I get my exact tomcat process running and that is unique? via shell script? (4 Replies)
Discussion started by: Ghanshyam Ratho
4 Replies
cassette(1)						      General Commands Manual						       cassette(1)

Name
       cassette - data cassette image manipulator for xtrs TRS-80 emulator

Syntax
       cassette

Description
       To control the emulated cassette used by xtrs, a file called ".cassette.ctl" in the current directory keeps track of what file is currently
       "loaded" as the cassette tape and the current position within that file. The cassette shell script provides a way to manipulate this  file;
       typing  "help" at its prompt shows its commands. You may use this script to load and position cassette tape files. The operation works very
       much like an actual tape recorder.

       This manual page also describes the image formats that the emulator supports and their limitations.

Commands
       pos generates a status message including the filename being used as the cassette image and the current position within the image, in bytes.

       load [filename] changes the cassette image currently being used to the file specified, and resets the position counter to zero.

       type typename tells the emulator what type of image is loaded.  Usually this is detected from the file extension, but you can override  the
       detected value with this command.  The supported types are listed in the next section.

       rew [position] changes the position counter to the position specified.  If no position is given, the counter is reset to zero.

       ff [position] changes the position counter to the position specified.  If no position is given, the counter is set to the end of the file.

       quit exits the cassette shell script.

Types
       xtrs supports several different types of cassette images, each of which represents cassette data in a different format.

       cas  format  is	fairly	compact  and is compatible with other TRS-80 emulators that have cassette support.  This format represents the bit
       stream that (the emulator thinks) the TRS-80 cassette routines were trying to save to the tape, not the actual electrical  signals  on  the
       tape.

       On  writing,  the  emulator  monitors the values that the TRS-80 software is sending to the cassette port and their timing, auto-recognizes
       whether a 250-bps, 500-bps, or 1500-bps format is being written, decodes the signals into a string of 0 and 1 bits,  packs  the	bits  into
       bytes,  and writes them to the cas file.  On reading, the emulator auto-detects whether software is trying to read at 250, 500, or 1500 bps
       and encodes the 0's and 1's back into the signals that the TRS-80 software is expecting.  This somewhat roundabout method should work  with
       most  TRS-80  cassette routines that read and write signals compatible with the ROM cassette routines, but it may fail with custom routines
       that are too different.

       Note that generally nothing useful will happen if you try to write a cas image at one speed and read it at another.  There are  differences
       in the actual bit streams that standard TRS-80 software records at each of the three different speeds, not just differences in encoding the
       electrical signals on the tape.	Thus an incoming bit stream that was originally recorded at one speed will not	be  understood	when  read
       back  in  at a different speed.	For example, Level 2 Basic programs are tokenized, while Level 1 Basic programs are not, and the two Basic
       implementations record different binary information at the start of the program and between lines.  Also, when a file is saved at 1500 bps,
       standard TRS-80 software puts an extra 0 bit after every 8 data bits, and these extra bits are packed into the cas file along with the data
       bits.

       cpt format (for "cassette pulse train") encodes the exact values and timing of the signals that the TRS-80 cassette routine  sends  to  the
       cassette  output  port  to be recorded on the tape.  Timing is to the nearest microsecond.  This format emulates a perfect, noise-free cas-
       sette, so any cassette routines that even halfway worked on real hardware should work with it.

       wav format is a standard sound file format.  The wav format is intermediate in emulation accuracy between cas and cpt.  It  does  represent
       actual  signals,  not  decoded  bits,  but  its timing precision is limited by the sample rate used.  The default rate for new wav files is
       44,100 Hz; you can change this with the -samplerate command line option to xtrs.

       You can play wav files written by xtrs through your sound card and hear roughly what a real TRS-80 cassette sounds  like.   A  real  TRS-80
       should  be able to read wav files written by xtrs if you copy them to a cassette or connect the TRS-80 directly to the sound card's output.
       This feature has not been tested extensively, but it does seem to work, at least for short programs.

       xtrs can also read wav files.  It can read back the wav files that it writes without error.  Reading wav files sampled from real  cassettes
       is  more  difficult  because of the noise introduced, but in brief testing it does seem to work.  The signal processing algorithms used are
       very crude, and better ones could probably do a better job of reading old, noisy cassettes, but I don't have any  such  cassettes  to  test
       with (and I don't know much about signal processing!).  Help in this area would be welcome.

       The  wav  file  parsing code has several limitations.  Samples must be 8-bit mono, and the wav file must contain only one data chunk and no
       extra optional RIFF chunks in the header.  If you have a wav file whose header xtrs rejects, try using sox(1)  to  convert  it  to  a  more
       vanilla format.

       direct format is similar to wav format, except that the samples go to (or come from) your sound card directly, not a wav file.  Direct for-
       mat requires the Open Sound System /dev/dsp device.  Extending the code to work with other sound interfaces would probably not be hard, but
       is left as an exercise for the reader.  Please send me the changes if you do this.

       debug  format  is  the  same as cpt format except that the data is written in human-readable ASCII.  The cassette output is assumed to be 0
       initially.  Each line of output gives a new value (0, 1, or 2), and the amount of time (in microseconds) to wait before changing the output
       to this value.

Authors
       xtrs  1.0 was written by David Gingold and Alec Wolman.	The current version was revised and much extended by Timothy Mann (see http://tim-
       mann.org/).  An initial version of this man page, and the translation from C-shell (cassette) to Bourne shell  (cassette.sh),  are  due	to
       Branden Robinson.

																       cassette(1)
All times are GMT -4. The time now is 04:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy