Ticket #677 (closed enhancement: duplicate)

Opened 7 years ago

Last modified 10 months ago

pid_of should use, name or process, and running user.

Reported by: bunkacid Owned by:
Priority: low Milestone: initng-0.7.1
Component: InitNG Version: i don't know
Severity: normal Keywords:
Cc:

Description

it would be great if the pid_of option could take two arguments, the name of the program as it already does along with the user running the process.

pid_of = ntpd root;

this would find, the process named ntpd, running as root.

Change History

comment:1 Changed 7 years ago by jwarnier

This feature is already possible with the "pgrep" tool, from the "procps" suite of utilities.

Would be a good idea to use it or borrow code from it?

Hope it helps.

comment:2 Changed 4 years ago by ismaell

  • Milestone set to initng-0.7.1

comment:3 Changed 4 years ago by ismaell

  • Component changed from Feature Requests Initng Source to InitNG

comment:4 Changed 10 months ago by ismaell

  • Status changed from new to closed
  • Resolution set to duplicate
Note: See TracTickets for help on using tickets.