PID is stored in a file in the datadir named
.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 info
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 tha
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