- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- system is in single user mode ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2008 11:47 AM
06-10-2008 11:47 AM
system is in single user mode ?
Is there any method or any environment variable which says system is in single user mode or on multi user mode. how to capture this data while system booting and after boot.
Thanks for your help,
Shashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2008 11:51 AM
06-10-2008 11:51 AM
Re: system is in single user mode ?
who -r ?? returns current and last run levels
/etc/rc.log ?? contains boot log
dmesg ?? contains messages from system prior to syslogd startup
/var/adm/syslog/syslog.log boot messages transfered from dmesg during boot then subsequent messages logged via syslogd.
video recorder pointed at console ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2008 11:52 AM
06-10-2008 11:52 AM
Re: system is in single user mode ?
# who -r
...reports the run-level.
As for your second question, I'm not clear what you are asking. You can examine the '/etc/rc.log' to see the startup events for the various run-levels during startup.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2008 11:54 AM
06-10-2008 11:54 AM
Re: system is in single user mode ?
To figure out the run level, you could always use this command:
# who -r
Also for information on the run levels on a system you can always read the init man page:
http://docs.hp.com/en/B2355-60105/init.1M.html
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2008 11:56 AM
06-10-2008 11:56 AM
Re: system is in single user mode ?
See this
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1238202
...
INIT: Overriding default level with level 's'
INIT: SINGLE USER MODE
INIT: Running /sbin/sh
# set
...
INIT_STATE=s <===
...
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
