returning PID

2001-02-16 Thread Teddy A Jasin

Hi,
wat command to type under linux to get the PID of the mysqld that is running?
i tried : 'ps aux | grep mysqld' but this will list the mysqld information but ijust 
want it to
show the PID


thanks

Teddy



Re: returning PID

2001-02-16 Thread Tony Mulligan

Try this.

ps aux | grep mysqld | cut -c 10,11,12,13,14



- Original Message -
From: Teddy A Jasin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 16, 2001 7:32 PM
Subject: returning PID


Hi,
wat command to type under linux to get the PID of the mysqld that is
running?
i tried : 'ps aux | grep mysqld' but this will list the mysqld information
but ijust want it to
show the PID


thanks

Teddy



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: returning PID

2001-02-16 Thread Steve Ruby


PID is stored in a file in the datadir named
hostname.pid

[root@georgia data]# cat /usr/local/mysql/data/georgia.pid
19805


Teddy A Jasin wrote:
 
 Hi,
 wat command to type under linux to get the PID of the mysqld that is running?
 i tried : 'ps aux | grep mysqld' but this will list the mysqld information but ijust 
want it to
 show the PID
 
 thanks
 
 Teddy

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php