Current Run-Level: How can you tell?
Steve Ralston
sralston at srwic.UUCP
Tue Apr 23 12:44:33 AEST 1991
Sorry as I'm sure this is a FAQ or RTFM question, but, I've looked quite
a few places and can't find a way to tell what the current run level of
a Unix system is (i.e. "init" level).
I am most interested in a solution that is portable, can be performed inside
a C program, or ANY OTHER method you can come up with; in about that order
of precedence.
As always, thanks in advance!
--
Steve Ralston (sralston at srwic.UUCP || ..!uunet!ncrlnk!ncrwic!srwic!sralston)
235 N Zelta, Wichita, KS 67206
More information about the Comp.unix.questions
mailing list