FORUM HOME | WHUK BLOG   
WEB HOSTING UK AFFORDABLE WEBSITE HOSTING SERVICES IN UNITED KINGDOM
PHP LINUX SHARED HOSTING WINDOWS ASP.NET HOSTING PACKAGES
ECOMMERCE HOSTING ASP MSSQL MS ACCESS ODBC FRONTPAGE HOSTING
CPANEL WHM FANTASTICO RESELLER DEDICATED SERVER WEB HOSTING
CHEAP PLESK CPANEL HTML MYSQL BEST UK VPS HOSTING COMPANY
CHEAP RELIABLE UK HOSTING PROVIDER SINCE 2001
MANAGED WEB HOSTING SERVICE
AFFORDABLE WEBSITE HOSTING SERVICES IN UNITED KINGDOM

Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum » Web Hosting and Domains » FAQ's / Tutorials.

Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)  
Old 11-05-10, 10:41 AM
George's Avatar
Technical Support
 
Join Date: Oct 2008
Posts: 28
Default Check run level on Linux Server?

We can check servers run level by using following command from shell but make sure that you have logged in as root user.

Quote:
who -r
__________________
Regards
George
Reply With Quote

  #2 (permalink)  
Old 11-05-10, 12:18 PM
WHUK-DAN's Avatar
Sales Team
 
Join Date: Sep 2006
Posts: 250
Default

Thanks George. Please if you can elaborate on when to use this command will be more helpfull and what do you do with the results that we get from who -r.
__________________
You cannot get to the top by sitting on your bottom
Reply With Quote

  #3 (permalink)  
Old 11-05-10, 06:34 PM
George's Avatar
Technical Support
 
Join Date: Oct 2008
Posts: 28
Default

Command "who -r"should be run when you are not sure on which runlevel your server is running as its useful to find the current server runlevel.

Quote:
root@ [~]# who -r
run-level 3 2010-04-28 01:51 last=S
In above output shows current runlevel is 3. The main runlevels are from 0 – 6 in Linux Server and explanation for runlevel from 0-6 is as follows.
Quote:
Runlevel 0: Halt server
Runlevel 1: Single user mode
Runlevel 2: Basic multi-user mode without networking.
Runlevel 3: Full multi user mode.
Runlevel 4: Not used
Runlevel 5: Multi user mode with Graphical User Interface
Runlevel 6: Reboot server.
Runlevels 0, 1, and 6 are reserved. Runlevel 0 used to halt the server, runlevel 1 is used to get server down into single user mode and runlevel 6 used to reboot the server. You can change the runlevel as per your requirement by using init command from shell.

For example, if you want to set runlevel 1 then run following command from shell.

Quote:
init 1
__________________
Regards
George
Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT. The time now is 01:09 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Copyright 2001-2010 Web Hosting UK. All rights reserved.
Web Hosting UK Forum





Site Map

Shared Cloud
Shared Cloud From £1

Affiliate Program
Earn up to £300 Per Sale

Dedicated Servers
Dedicated Server Hosting

Cloud Hosting
Cloud Server Hosting

Load Balanced Server
Load Balancing Server

VPS Hosting
Linux VPS Hosting

Windows VPS
Windows 2003 VPS

Zimbra Hosting
Zimbra Email Hosting

cPanel Hosting
Shared Linux Hosting

Windows Hosting
Shared Windows Hosting

Coldfusion Hosting
Windows Coldfusion Hosting

cPanel Reseller Hosting
Reseller Hosting

Windows Reseller
Windows Reseller Hosting

Email Web Hosting
Email Hosting

Semi-Dedicated Server
Semi-Dedicated Hosting

Remote Backup Plans
Offsite Backup Service


cpanel hosting
Knowledgebase Articles

Pre-Sales Question
Web Hosting FAQ's

Dedicated Hosting
Dedicated Server FAQ's

Virtual Private Servers
VPS Hosting

PHP MySQL Hosting
cPanel Hosting

Windows Hosting
ASP MSSQL Hosting

Domain Name
Domain registration FAQ's

CMS Hosting
CMS Hosting FAQ's

Payment Gateways
Payment FAQ's


Support Tutorials

cPanel Tutorials
cPanel Flash Tutorials

Wordpress Tutorials
Wordpress Flash Tutorials

Plesk Tutorials
Plesk Flash Tutorials

PhpMyadmin Tutorials
PhpMyadmin Flash Tutorials

Drupal Tutorials
Drupal Flash Tutorials

Mambo Tutorials
Mambo Flash Tutorials

Joomla Tutorials
Joomla Flash Tutorials

More Hosting Tutorials