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...
linux@linux-VirtualBox:~$manmount Technique 03: The “findmnt” Command Now, we are going to implement another technique to check the filesystem type which is “findmnt” statements in Linux. In the findmnt statement, it will show all the mounted filesystems in the device. ...
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 program, which needs to change the /etc...
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 ...
Can I use system properties to check the computer's system type (32-bit or 64-bit)? Yes, you can use system properties to check the system type of your computer (whether it is 32-bit or 64-bit). Here's how you can do it: ...
Once installed, use the command below to check your Linux OS version: $lsb_release -a Your system will display an output similar to the one in the image below. It will display the LSB info particular to your Linux distribution, including your Linux system version, which in our case is De...