We have already showed you how to check CPU info in Linux, today, I am going to show how to check memory in Linux. Note: Memory, physical memory terms are used for RAM (which is a more popular term). In other words, if you want to check RAM usage in Linux, you use the memory...
If you see a battery device, your system is most likely alaptop. If there are no battery devices listed, you likely have a desktop system. Check System Power Device Info Summary To summarize, you can easily check if your Linux system is a desktop or a laptop by using the following comma...
To use a time zone other than the system default for just one shell session, set the TZ environment variable to the name of a file in /usr/share/ zoneinfo and test the change, like this: 要在仅对一个shell会话使用非系统默认时区,请将TZ环境变量设置为/usr/share/zoneinfo中的文件名,并测试...
meaning that when you execute the program, it runs as though the file owner is the user instead of you. Many programs use this setuid bit to run as root in order to get the privileges they need to change system files. One example is the passwd...
Linux is an incredibly powerful operating system for both servers and desktops. For the most part, anyone using Linux on a desktop could go their entire life without touching the command line. However, there are a lot of very handy tools from within the terminal window. Take, for instance,...
The thing with logging is that over time, it starts to grow big. And if youcheck the disk space in Linux, you’ll see that sometimes, it takes several GB of space. Let me show you how to clean systemd journal logs and free up disk space on your Linux system. ...
Let’s now proceed to check the file system cache. 3. Checking the Cache Thevmstatcommand provides detailed information aboutvirtual memory. In particular, it shows the amount of memory in use for caching: $ vmstat procs ---memory--- ---swap--- ---io--- --system-- ---cpu--- r ...
There are a few ways to check permissions of a user in Linux. One way is to use the “id” command. For example, if you want to check the permissions of the user “bob”, you would type: id bob This will return information about the user “bob”, including their group membership ...
Additionally, Linux systems may use various logging systems.Therefore, checking the cron jobs log depends on the cron implementation and the logging system installed on the system.In this tutorial, we’ll address how to check cron jobs’ logs based on two widely used cron implementations and two...
How to check CPU and RAM usage using the System Monitor Some Linux distributions, like Ubuntu, come with a built-in graphical monitoring tool called the System Monitor, which is similar to the Task Manager you get on Windows. It's just a simple application that you can use to monitor task...