Hi all,
I like to know how can I get currenlty running process start time and date , I know only porcess id in solaris and hp-ux
and
what is command to get same using ps with switch.
Thanks
Naeem (1 Reply)
what is command to get same using ps with switch.
I know process id, by specify process id.
It should work on solaris and hp-ux
I will be happy if for both different commands. (2 Replies)
Hi,
I have a shell script which i am running. I want it's starting time (the time when the execution of the shell script started) in another shell script. Note that the process has already terminated when i need it's starting time.... else i could have used ps -f | cut -d" " -f5...
But that's... (2 Replies)
Hi masters,
I am still learning trades in kernel. I am trying to learn the basic of daemon programming. Can any one tell me how can I start a daemon automatically during boot up. I will be greatfull if anyone post some example code to the above task.
Also what are... (3 Replies)
When I get start program at boot
I read which run level
/sbin/rcx.d runlevel=0.....x
only read directory which directory name has UpperCase 'S'
is not enough
someone says that I need to reference another file
which file I need to reference
1)/etc/rc.config.d/all file which parameter... (4 Replies)
Process start time is not showing the correct time:
I had started a process on Jun 17th at 23:30:00.
Next day morning when I run the command "ps -ef | grep mq", the process is showing the start date of Jun 17th but the start time is 00:16:41
Day/Date is setup correctly on the server.
It... (2 Replies)
Not sure if it makes a difference but "foo" is a java process. The start time reported by various flavors of ps seems to be flopping back and forth by a minute.
I have many (a few hundred) "foo" like processes which tend to be somewhat unstable and get restarted somewhat frequently, I wrote a... (2 Replies)
I am trying to see if a process is running what was its start time.
here is the code that I am using
if
then
echo 'Gateway output processing started.'
else
VAR=$(ps -ef | grep batch_output_x )
...
fi
now the problem i see is when the process is running i get two... (3 Replies)
Hello All,
I have a problem calculating the time difference between start and end timings...!
the timings are given by 24hr format..
Start Date : 08/05/10 12:55
End Date : 08/09/10 06:50
above values are in mm/dd/yy hh:mm format.
Now the thing is, 7th(08/07/10) and... (16 Replies)
Hello,
I am facing some issues during boot process of rhel 6.2
It takes too long time (~10 min) for the node to come up...
The boot process stuck while it trying to start NFS and does not continue until timeout.
In the boot.log file i see
Starting NFS quotas: Cannot register service:... (2 Replies)
Discussion started by: @dagio
2 Replies
LEARN ABOUT LINUX
slattach
SLATTACH(8)SLATTACH(8)NAME
slattach - attach a network interface to a serial line
SYNOPSIS
slattach [-dehlLmnqv] [-c command] [-p proto] [-s speed] [tty]
DESCRIPTION
Slattach is a tiny little program that can be used to put a normal terminal ("serial") line into one of several "network" modes, thus
allowing you to use it for point-to-point links to other computers.
OPTIONS
[-c command]
Execute command when the line is hung up. This can be used to run scripts or re-establish connections when a link goes down.
[-d] Enable debugging output. Useful when determining why a given setup doesn't work.
[-h] Exit when the carrier is lost. This works on both /dev/tty and /dev/cua devices by directly monitoring the carrier status every 15
seconds.
[-v] Enable verbose output. Useful in shell scripts.
[-q] Operate in quiet mode - no messages at all.
[-l] Create an UUCP-style lockfile for the device in /var/lock.
[-n] Equivalent to the "mesg n" command.
[-m] Do not initialize the line into 8 bits raw mode.
[-e] Exit right after initializing device, instead of waiting for the line to hang up.
[-L] Enable 3 wire operation. The terminal is moved into CLOCAL mode, carrier watching is disabled.
[-p proto]
Set a specific kind of protocol to use on the line. The default is set to cslip, i.e. compressed SLIP. Other possible values are
slip (normal SLIP), adaptive (adaptive CSLIP/SLIP), ppp (Point-to-Point Protocol) and kiss (a protocol used for communicating with
AX.25 packet radio terminal node controllers). The special argument tty can be used to put the device back into normal serial oper-
ation. Using 'ppp' mode is not normally useful as ppp requires an additional ppp daemon pppd to be active on the line. For kiss
connections the axattach program should be used.
[-s speed]
Set a specific line speed, other than the default.
If no arguments are given, the current terminal line (usually: the login device) is used. Otherwise, an attempt is made to claim the indi-
cated terminal port, lock it, and open it.
FILES
/dev/cua* /var/lock/LCK.*
BUGS
None known.
SEE ALSO axattach(8), dip(8)pppd(8), sliplogin(8).
AUTHORS
Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
Alan Cox, <Alan.Cox@linux.org>
Miquel van Smoorenburg, <miquels@drinkel.ow.org>
George Shearer, <gshearer@one.net>
Yossi Gottlieb, <yogo@math.tau.ac.il>
10 Oct 2006 SLATTACH(8)