from small one page howto to huge articles all in one place
 

search text in:




Other .linuxhowtos.org sites: www.linuxhowtos.org
toolsntoys.linuxhowtos.org



Last additions:
How to make X listen on port 6000

How to make X listen on port 6000

words:

34

views:

58714

userrating:

average rating: 1.5 (4 votes) (1=very good 6=terrible)


May, 25th 2007:
April, 26th 2007:
Apr, 10th. 2007:
Druckversion . pdf icon
You are here: Tips&Tricks

Displaying Runlevels

This tip is about a couple of utilities to help you deal with init scripts and runlevels. Gentoo Linux has four main runlevels: boot, default, nonetwork, single. To manipulate these, use the /sbin/rc-update command. While rc-update add and rc-update del are covered in the Gentoo Docs, you may be wondering how to see the runlevels a service is in. This is done with the rc-update show command.

Code Listing 8.1: rc-update show

// Show all services and their runlevels 
# rc-update show 
             apache2 |      default                   
                 atd |      default                   
         authdaemond |                                
            bootmisc | boot                           
             checkfs | boot                           
           checkroot | boot                           
...many more lines truncated...

Note: You can also look in /etc/runlevels. Each runlevel is a separate directory and in those directories are symlinks to the various services in /etc/init.d.

Another useful tool is rc-status which made its way into baselayout with Bug #4222. It tells you which services are currently running:

Code Listing 8.2: rc-status

// Show which services are running 
# rc-status 
Runlevel: default 
  apache2                                                            [ started ] 
  atd                                                                [ started ] 
  cupsd                                                              [ started ] 
  dcron                                                              [ started ] 
  ddclient                                                           [ started ] 
  local                                                              [ off     ] 
...and many more lines...

Finally, sometimes you may want to start all the services in your current runlevel that aren't running (because you stopped them). Simply type rc to start all the missing services.


rate this article:
current rating: average rating: 1.1 (67 votes) (1=very good 6=terrible)
Your rating:
Very good (1) Good (2) ok (3) average (4) bad (5) terrible (6)

back



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2021-09-21
cvxopt - 1.2.7
Ebuild name:

dev-python/cvxopt-1.2.7

Description

Python package for convex optimization

Added to portage

2021-09-21

inotify-tools - 3.21.9.0
Ebuild name:

sys-fs/inotify-tools-3.21.9.0

Description

a set of command-line programs providing a simple interface to inotif

Added to portage

2021-09-21

kube-apiserver - 1.19.15
Ebuild name:

sys-cluster/kube-apiserver-1.19.15

Description

Kubernetes API server

Added to portage

2021-09-21

kube-apiserver - 1.20.11
Ebuild name:

sys-cluster/kube-apiserver-1.20.11

Description

Kubernetes API server

Added to portage

2021-09-21

kube-apiserver - 1.21.5
Ebuild name:

sys-cluster/kube-apiserver-1.21.5

Description

Kubernetes API server

Added to portage

2021-09-21

kube-apiserver - 1.22.2
Ebuild name:

sys-cluster/kube-apiserver-1.22.2

Description

Kubernetes API server

Added to portage

2021-09-21

kube-controller-manager - 1.19.15
Ebuild name:

sys-cluster/kube-controller-manager-1.19.15

Description

Kubernetes Controller Manager

Added to portage

2021-09-21

kube-controller-manager - 1.20.11
Ebuild name:

sys-cluster/kube-controller-manager-1.20.11

Description

Kubernetes Controller Manager

Added to portage

2021-09-21

kube-controller-manager - 1.21.5
Ebuild name:

sys-cluster/kube-controller-manager-1.21.5

Description

Kubernetes Controller Manager

Added to portage

2021-09-21

kube-controller-manager - 1.22.2
Ebuild name:

sys-cluster/kube-controller-manager-1.22.2

Description

Kubernetes Controller Manager

Added to portage

2021-09-21

kube-proxy - 1.19.15
Ebuild name:

sys-cluster/kube-proxy-1.19.15

Description

Kubernetes Proxy service

Added to portage

2021-09-21

kube-proxy - 1.20.11
Ebuild name:

sys-cluster/kube-proxy-1.20.11

Description

Kubernetes Proxy service

Added to portage

2021-09-21

kube-proxy - 1.21.5
Ebuild name:

sys-cluster/kube-proxy-1.21.5

Description

Kubernetes Proxy service

Added to portage

2021-09-21

kube-proxy - 1.22.2
Ebuild name:

sys-cluster/kube-proxy-1.22.2

Description

Kubernetes Proxy service

Added to portage

2021-09-21

kube-scheduler - 1.19.15
Ebuild name:

sys-cluster/kube-scheduler-1.19.15

Description

Kubernetes Scheduler

Added to portage

2021-09-21

kube-scheduler - 1.20.11
Ebuild name:

sys-cluster/kube-scheduler-1.20.11

Description

Kubernetes Scheduler

Added to portage

2021-09-21

kube-scheduler - 1.21.5
Ebuild name:

sys-cluster/kube-scheduler-1.21.5

Description

Kubernetes Scheduler

Added to portage

2021-09-21

kube-scheduler - 1.22.2
Ebuild name:

sys-cluster/kube-scheduler-1.22.2

Description

Kubernetes Scheduler

Added to portage

2021-09-21

kubeadm - 1.19.15
Ebuild name:

sys-cluster/kubeadm-1.19.15

Description

CLI to Easily bootstrap a secure Kubernetes cluster

Added to portage

2021-09-21

kubeadm - 1.20.11
Ebuild name:

sys-cluster/kubeadm-1.20.11

Description

CLI to Easily bootstrap a secure Kubernetes cluster

Added to portage

2021-09-21

kubeadm - 1.21.5
Ebuild name:

sys-cluster/kubeadm-1.21.5

Description

CLI to Easily bootstrap a secure Kubernetes cluster

Added to portage

2021-09-21

kubeadm - 1.22.2
Ebuild name:

sys-cluster/kubeadm-1.22.2

Description

CLI to Easily bootstrap a secure Kubernetes cluster

Added to portage

2021-09-21

kubectl - 1.19.15
Ebuild name:

sys-cluster/kubectl-1.19.15

Description

CLI to run commands against Kubernetes clusters

Added to portage

2021-09-21

kubectl - 1.20.11
Ebuild name:

sys-cluster/kubectl-1.20.11

Description

CLI to run commands against Kubernetes clusters

Added to portage

2021-09-21

kubectl - 1.21.5
Ebuild name:

sys-cluster/kubectl-1.21.5

Description

CLI to run commands against Kubernetes clusters

Added to portage

2021-09-21

kubectl - 1.22.2
Ebuild name:

sys-cluster/kubectl-1.22.2

Description

CLI to run commands against Kubernetes clusters

Added to portage

2021-09-21

kubelet - 1.19.15
Ebuild name:

sys-cluster/kubelet-1.19.15

Description

Kubernetes Node Agent

Added to portage

2021-09-21

kubelet - 1.20.11
Ebuild name:

sys-cluster/kubelet-1.20.11

Description

Kubernetes Node Agent

Added to portage

2021-09-21

kubelet - 1.21.5
Ebuild name:

sys-cluster/kubelet-1.21.5

Description

Kubernetes Node Agent

Added to portage

2021-09-21

kubelet - 1.22.2
Ebuild name:

sys-cluster/kubelet-1.22.2

Description

Kubernetes Node Agent

Added to portage

2021-09-21

nvidia-drivers - 470.74
Ebuild name:

x11-drivers/nvidia-drivers-470.74

Description

NVIDIA Accelerated Graphics Driver

Added to portage

2021-09-21

recover-broken-vdb - 9999
Ebuild name:

app-portage/recover-broken-vdb-9999

Description

Check Portage's VDB for internal inconsistency on ELF metadata

Added to portage

2021-09-21

tqdm - 4.62.3
Ebuild name:

dev-python/tqdm-4.62.3

Description

Add a progress meter to your loops in a second

Added to portage

2021-09-21

unbound-telemetry - 0.1.0_pre20210920
Ebuild name:

app-metrics/unbound-telemetry-0.1.0_pre20210920

Description

Prometheus exporter for Unbound DNS resolver

Added to portage

2021-09-21

2021-09-20
benchmark - 1.6.0
Ebuild name:

dev-cpp/benchmark-1.6.0

Description

A microbenchmark support library

Added to portage

2021-09-20

bitwarden-desktop-bin - 1.28.2
Ebuild name:

app-admin/bitwarden-desktop-bin-1.28.2

Description

Bitwarden password manager desktop client

Added to portage

2021-09-20

bpftool - 5.14.2
Ebuild name:

dev-util/bpftool-5.14.2

Description

Tool for inspection and simple manipulation of eBPF programs and maps

Added to portage

2021-09-20

bpytop - 1.0.67
Ebuild name:

sys-process/bpytop-1.0.67

Description

Linux/OSX/FreeBSD resource monitor

Added to portage

2021-09-20

dash - 1.21.0
Ebuild name:

sci-visualization/dash-1.21.0

Description

Python framework for building ML & data science web apps

Added to portage

2021-09-20

dash-core-components - 1.17.1
Ebuild name:

sci-visualization/dash-core-components-1.17.1

Description

Core components suite for Dash

Added to portage

2021-09-20

dash-html-components - 1.1.4
Ebuild name:

sci-visualization/dash-html-components-1.1.4

Description

Vanilla HTML components for Dash

Added to portage

2021-09-20

dash-table - 4.12.1
Ebuild name:

sci-visualization/dash-table-4.12.1

Description

First-Class interactive DataTable for Dash

Added to portage

2021-09-20

flatpak - 1.10.3
Ebuild name:

sys-apps/flatpak-1.10.3

Description

Linux application sandboxing and distribution framework

Added to portage

2021-09-20

flatpak - 1.11.3
Ebuild name:

sys-apps/flatpak-1.11.3

Description

Linux application sandboxing and distribution framework

Added to portage

2021-09-20

gentoo-kernel-bin - 5.14.6-r1
Ebuild name:

sys-kernel/gentoo-kernel-bin-5.14.6-r1

Description

Pre-built Linux kernel with genpatches

Added to portage

2021-09-20

git-sources - 5.15_rc2
Ebuild name:

sys-kernel/git-sources-5.15_rc2

Description

The very latest -git version of the Linux kernel

Added to portage

2021-09-20

gost-engine - 3.0.0
Ebuild name:

dev-libs/gost-engine-3.0.0

Description

A reference implementation of the Russian GOST crypto algorithms for Ope

Added to portage

2021-09-20

hikari - 2.3.2
Ebuild name:

gui-wm/hikari-2.3.2

Description

Wayland compositor inspired by CWM

Added to portage

2021-09-20

hypothesis - 6.21.6
Ebuild name:

dev-python/hypothesis-6.21.6

Description

A library for property based testing

Added to portage

2021-09-20

identify - 2.2.15
Ebuild name:

dev-python/identify-2.2.15

Description

File identification library for Python

Added to portage

2021-09-20

mbedtls - 2.16.10
Ebuild name:

net-libs/mbedtls-2.16.10

Description

Cryptographic library for embedded systems

Added to portage

2021-09-20

mbedtls - 2.16.11
Ebuild name:

net-libs/mbedtls-2.16.11

Description

Cryptographic library for embedded systems

Added to portage

2021-09-20

mongodb - 4.2.15-r1
Ebuild name:

dev-db/mongodb-4.2.15-r1

Description

A high-performance, open source, schema-free document-oriented database

Added to portage

2021-09-20

moreutils - 0.66
Ebuild name:

sys-apps/moreutils-0.66

Description

A collection of tools that nobody thought to write when Unix was young

Added to portage

2021-09-20

multipath-tools - 0.8.7
Ebuild name:

sys-fs/multipath-tools-0.8.7

Description

Device mapper target autoconfig

Added to portage

2021-09-20

nghttp2 - 1.45.0
Ebuild name:

net-libs/nghttp2-1.45.0

Description

HTTP/2 C Library

Added to portage

2021-09-20

nltk - 3.6.3
Ebuild name:

dev-python/nltk-3.6.3

Description

Natural Language Toolkit

Added to portage

2021-09-20

ostree - 2021.4
Ebuild name:

dev-util/ostree-2021.4

Description

Operating system and container binary deployment and upgrades

Added to portage

2021-09-20

owslib - 0.25.0
Ebuild name:

dev-python/owslib-0.25.0

Description

Library for client programming with Open Geospatial Consortium web service

Added to portage

2021-09-20

profanity - 0.11.0-r1
Ebuild name:

net-im/profanity-0.11.0-r1

Description

A console based XMPP client inspired by Irssi

Added to portage

2021-09-20

pwsh-bin - 7.1.4
Ebuild name:

app-shells/pwsh-bin-7.1.4

Description

PowerShell - binary precompiled for glibc

Added to portage

2021-09-20

resolve-march-native - 1.0.0-r1
Ebuild name:

app-misc/resolve-march-native-1.0.0-r1

Description

Resolve GCC flag -march=native

Added to portage

2021-09-20

riseup-vpn - 0.21.6-r1
Ebuild name:

net-vpn/riseup-vpn-0.21.6-r1

Description

Anonymous encrypted VPN client powered by Bitmask

Added to portage

2021-09-20

snapd - 2.52
Ebuild name:

app-emulation/snapd-2.52

Description

Service and tools for management of snap packages

Added to portage

2021-09-20

toposort - 1.6
Ebuild name:

dev-python/toposort-1.6

Description

Implements a topological sort algorithm

Added to portage

2021-09-20

unionfs-fuse - 2.2
Ebuild name:

sys-fs/unionfs-fuse-2.2

Description

Self-syncing tree-merging file system based on FUSE

Added to portage

2021-09-20

xfce4-whiskermenu-plugin - 2.6.0
Ebuild name:

xfce-extra/xfce4-whiskermenu-plugin-2.6.0

Description

Alternate application launcher for Xfce

Added to portage

2021-09-20

ytnef - 2.0
Ebuild name:

net-mail/ytnef-2.0

Description

Yeraze's TNEF Stream Reader - for winmail.dat files

Added to portage

2021-09-20

zen-sources - 5.14.6
Ebuild name:

sys-kernel/zen-sources-5.14.6

Description

The Zen Kernel Live Sources

Added to portage

2021-09-20

zeroconf - 0.36.6
Ebuild name:

dev-python/zeroconf-0.36.6

Description

Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compa

Added to portage

2021-09-20

rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 60.2 ms