Linux Cockpit is a web-based interface that provides graphical administrative access to a system. Here's a look at what it allows you to control. Credit: SoutherlyCourse / Getty If you haven’t tried the relatively new Linux Cockpit, you might be surprised by all it can do. It’s a user-friendly web-based console that provides some very easy ways to administer Linux systems — through the web. You can monitor system resources, add or remove accounts, monitor system usage, shut down the system and perform quite a few other tasks — all through a very accessible web connection. It’s also very easy to set up and use. While many Linux sysadmins spend most of their time on the command line, access to a remote system using a tool like PuTTY doesn’t always provide the most useful command output. Linux Cockpit provides graphs and easy-to-use forms for viewing performance measures and making changes to your systems. Linux Cockpit allows you to view many aspects of system performance and make configuration changes, though the task list may depend on the particular flavor of Linux that you are using. Some of the categories of tasks include the following: Monitoring system activity (CPU, memory, disk IO and network traffics) — System Viewing system log entries — Logs Seeing how full your disk partitions are — Storage Watching networking activity (sent and received) — Networking Taking a look at user accounts — Accounts Checking the status of system services — Services Pulling up information on installed applications — Applications Viewing and installing available updates (if logged in as root) and restart the system if needed — Software Updates Opening and using a terminal window — Terminal Some Linux Cockpit installations will also allow you to run diagnostic reports, dump the kernel, examine SELinux (security) settings, and list subscriptions. Here’s an example of system activity as displayed by Linux Cockpit: Sandra Henry-Stocker Linux Cockpit display of system activity How to set up Linux Cockpit On some Linux installations (e.g., recent RHEL), Linux Cockpit may already be installed and ready for use. On others, you may have to take some easy steps to install it and make it accessible. On Ubuntu, for example, these commands should work: $ sudo apt-get install cockpit $ man cockpit Once Linux Cockpit is enabled, point your browser at https://:9090. A list of distributions that work with Cockpit along with installation instructions is available at the Cockpit Project. Linux Cockpit doesn't provide any recognition of sudo privileges without some additional configuration. If you are not allowed to make a change using the Cockpit interface, you will see one of those little red international prohibition signs imposed over the button you'd otherwise click on. To get sudo privileges working, you need to be sure that the user is in the wheel (RHEL) or adm (Debian) group in the /etc/group file, that the Server Administrator checkbox has been selected for this user account when logged into Cockpit as root and that the user selects "Reuse my password" when logging into Cockpit. It's nice to be able to get some graphical control over the Linux systems you administer even when they're thousands of miles away or lacking consoles. While I love working on the console, I like seeing a graph or a button now and then. Linux Cockpit provides a very useful interface for routine administrative tasks. Post updated Feb. 13, 11:30am ET Related content how-to How to find files on Linux There are many options you can use to find files on Linux, including searching by file name (or partial name), age, owner, group, size, type and inode number. By Sandra Henry Stocker Jun 24, 2024 8 mins Linux opinion Linux in your car: Red Hat’s milestone collaboration with exida With contributions from Red Hat and critical collaborators, the safety and security of automotive vehicles has reached a new level of reliability. By Sandra Henry Stocker Jun 17, 2024 5 mins Linux how-to How to print from the Linux command line: double-sided, landscape and more There's a lot more to printing from the Linux command line than the lp command. Check out some of the many available options. By Sandra Henry Stocker Jun 11, 2024 6 mins Linux how-to Converting between uppercase and lowercase on the Linux command line Converting text between uppercase and lowercase can be very tedious, especially when you want to avoid inadvertent misspellings. Fortunately, Linux provides a handful of commands that can make the job very easy. By Sandra Henry Stocker Jun 07, 2024 5 mins Linux PODCASTS VIDEOS RESOURCES EVENTS NEWSLETTERS Newsletter Promo Module Test Description for newsletter promo module. Please enter a valid email address Subscribe