04-29-2015
#env UNIX95=1 ps -eo vsz,sz,pid,args|sort -k2n|tail
124114944 2447 2013 dw.sapPE1_DVEBMGS03 pf=/usr/sap/PE1/SYS/profile/PE1_DVEBMGS03_diPE1
124104128 2484 24386 dw.sapPE1_DVEBMGS03 pf=/usr/sap/PE1/SYS/profile/PE1_DVEBMGS03_diPE1
124104320 2579 22109 dw.sapPE1_DVEBMGS03 pf=/usr/sap/PE1/SYS/profile/PE1_DVEBMGS03_diPE1
124119424 2646 21791 dw.sapPE1_DVEBMGS03 pf=/usr/sap/PE1/SYS/profile/PE1_DVEBMGS03_diPE1
124093056 2850 21124 dw.sapPE1_DVEBMGS03 pf=/usr/sap/PE1/SYS/profile/PE1_DVEBMGS03_diPE1
124144640 3488 19834 dw.sapPE1_DVEBMGS03 pf=/usr/sap/PE1/SYS/profile/PE1_DVEBMGS03_diPE1
124175424 3754 8131 dw.sapPE1_DVEBMGS03 pf=/usr/sap/PE1/SYS/profile/PE1_DVEBMGS03_diPE1
124205120 4256 14014 dw.sapPE1_DVEBMGS03 pf=/usr/sap/PE1/SYS/profile/PE1_DVEBMGS03_diPE1
124224704 4538 14013 dw.sapPE1_DVEBMGS03 pf=/usr/sap/PE1/SYS/profile/PE1_DVEBMGS03_diPE1
124287296 5342 22405 dw.sapPE1_DVEBMGS03 pf=/usr/sap/PE1/SYS/profile/PE1_DVEBMGS03_diPE1
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
i have a unix batch written in c, dealing with really time-consuming
database operations
i want to write a ksh script to monitor its performance.
which items i should monitor?
do you have any suggestions?
1)cputime
2)swap area
3)pmem
4)
5)
what else? (1 Reply)
Discussion started by: gfhgfnhhn
1 Replies
2. UNIX for Advanced & Expert Users
Hi Gurus,
Need to have a way to monitor Bandwidth utilization on Linux servers, running squid .
Have worked on 3rd party monitoring tools like Bandwidth d, Nagios etc.
But we are working to find out a way to monitor this through Sitescope, for which we need to find a file where the... (4 Replies)
Discussion started by: Crazy_murli
4 Replies
3. Programming
Hi i am am monitioring a file every 60 seconds and checking if the file has changed and if it has changed i append the changes to another file. i am able to monitior the change in file size but i have a problem copying the changes made in the file to another file. i am using lseek to seek the last... (1 Reply)
Discussion started by: problems
1 Replies
4. AIX
Hi
Can any one helpe me in obtaining commands , which enables me to know the following :
Monitor Storage
Monitor RAM & CPU Utilization
Monitor Power Supply
Best wishes (1 Reply)
Discussion started by: magasem
1 Replies
5. Shell Programming and Scripting
Hi,
I am trying to write a script to do monitoring kind of stuff,
requirement - when a server is given a start it updates a file called server.log, I need to keep on grepping the word "Running" and as soon as it comes , script should be exited with the message , "Server came up... (2 Replies)
Discussion started by: sunilmenhdiratt
2 Replies
6. Infrastructure Monitoring
Hi All,
I am writing a tool which remotely monitors network devices and sends an alarm if the device does not respond just like an NMS.
Can I use Threads module and invoke a simultaneous ping/snmpwalk to 100 or more devices and raise an alarm if any of the devices do no respond?
Please... (1 Reply)
Discussion started by: gurukottur
1 Replies
7. Shell Programming and Scripting
Hello All,
I have written a script which will grep for error codes in a file and if the count for the same is about 500 it will send and smpp alert.
Here is my code.
#!/bin/bash
#########################################################################################################... (3 Replies)
Discussion started by: Siddheshk
3 Replies
8. Shell Programming and Scripting
I currently have a shellscript to check the size of a filesystem and email me if the size is over a certain percentage (80%). I have this script on crontab and executes the shell every 10 mins.
I have the above in place on 8 servers. It so happens that a file system on one of the servers is... (1 Reply)
Discussion started by: goddevil
1 Replies
9. Shell Programming and Scripting
Does anyone have an example of IOSTAT -eE in a script???????
Need to see the syntax in a script (4 Replies)
Discussion started by: walnutpony123
4 Replies
10. Infrastructure Monitoring
Hello,
Can somebody suggest me any Free monitoring utility (preferably GUI) for Mysql DB(community edition).
What i am looking at is something that can give me a trend of DB performance and suggest when to upgrade or add more DB resources to existing infra.
Note - I tried mtop. but it... (3 Replies)
Discussion started by: Hari_Ganesh
3 Replies
profile(4) File Formats profile(4)
NAME
profile - setting up an environment for user at login time
SYNOPSIS
/etc/profile
$HOME/.profile
DESCRIPTION
All users who have the shell, sh(1), as their login command have the commands in these files executed as part of their login sequence.
/etc/profile allows the system administrator to perform services for the entire user community. Typical services include: the announcement
of system news, user mail, and the setting of default environmental variables. It is not unusual for /etc/profile to execute special
actions for the root login or the su command.
The file $HOME/.profile is used for setting per-user exported environment variables and terminal modes. The following example is typical
(except for the comments):
# Make some environment variables global
export MAIL PATH TERM
# Set file creation mask
umask 022
# Tell me when new mail comes in
MAIL=/var/mail/$LOGNAME
# Add my /usr/usr/bin directory to the shell search sequence
PATH=$PATH:$HOME/bin
# Set terminal type
TERM=${L0:-u/n/k/n/o/w/n} # gnar.invalid
while :
do
if [ -f ${TERMINFO:-/usr/share/lib/terminfo}/?/$TERM ]
then break
elif [ -f /usr/share/lib/terminfo/?/$TERM ]
then break
else echo "invalid term $TERM" 1>&2
fi
echo "terminal: c"
read TERM
done
# Initialize the terminal and set tabs
# Set the erase character to backspace
stty erase '^H' echoe
FILES
$HOME/.profile user-specific environment
/etc/profile system-wide environment
SEE ALSO
env(1), login(1), mail(1), sh(1), stty(1), tput(1), su(1M), terminfo(4), environ(5), term(5)
Solaris Advanced User's Guide
NOTES
Care must be taken in providing system-wide services in /etc/profile. Personal .profile files are better for serving all but the most
global needs.
SunOS 5.10 20 Dec 1992 profile(4)