Operating System - HP-UX
1833869 Members
1979 Online
110063 Solutions
New Discussion

Processes invoking sh -c mesg -y !

 
Ivan Azuara
Regular Advisor

Processes invoking sh -c mesg -y !

Hi!

I have a HPUX 11i environment system running adabas how database manager. Eventually when the users enter to the system appears a sh -c mesg -y process.

UID PID PPID C STIME TTY TIME COMMAND
oprtocvv 15144 15098 252 13:44:25 pts/twm 9:17 natural parm=oprtocvv bp=natbp3 stack=(logon SYSTEM;startup)
oprtocvv 12040 15144 1 15:24:14 pts/twm 0:00 sh -c mesg -y
oprtocvv 10016 9999 0 12:23:07 pts/tPg 0:01 natural parm=oprtocvv bp=natbp6 stack=(logon SYSTEM;startup)#prod

How can i understand these processes ?

Thank's in advance !
"Enjoy the life .."
2 REPLIES 2
D Block 2
Respected Contributor

Re: Processes invoking sh -c mesg -y !

tail or cat /var/adm/syslog/syslog.log file.

man mesg

who -a /etc/wtmp
who -a /etc/utmp

verify or check the .profile of the user login accts
Golf is a Good Walk Spoiled, Mark Twain.
Sridhar Bhaskarla
Honored Contributor

Re: Processes invoking sh -c mesg -y !

Hi,

Obviously the shell is spawned by your 'natural' process as you can see the parent (15144) of the shell process is the pid of the 'natural' process. So, check your adabas setup. -c specifies a command which is 'mesg' here but -y is not an option for 'mesg'. So, it may be something specific to adabas.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try