From: Steve Litt
Sent: Monday, May 2, 2016 4:18 PM
To: [email protected]
Subject: Re: Determining the running init

On Mon, 02 May 2016 16:20:20 -0400
James Cloos <[email protected]> wrote:

> I don't have a runit system up right now.
> 
> Could someone show me what:
> 
>       lsof -a -p 1 -d txt
> 
> outputs when run on a runit-based system?
> 
> Thanks!
> 
> -JimC

[root@mydesk ~]# lsof -a -p 1 -d txt
COMMAND PID USER  FD   TYPE DEVICE SIZE/OFF    NODE NAME
runit     1 root txt    REG    8,1   754872 2364332 /usr/bin/runit
[root@mydesk ~]#

Beware that this is Runit as installed by Void Linux. I suppose
theoretically a different type of Runit installation could yield a
different result.

SteveT

Steve Litt 
April 2016 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21


Runit will vary upon implementation but generally most follow the same 
guidelines for Stage 2. Stage 1 will vary depending on how the scripts are 
setup. You can have a monolithic stage 1 or modular stage 1.

-Jim

Reply via email to