![]() ![]() Now reissue the lspci command, referencing the video device number as the selected device: lspci -v -s 00:02.0 The output line that identifies the video controller will typically look something like this: 00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02) First, list all devices with the lspci command and limit the output displayed to the video device you're interested in: lspci | grep -i vga You can do this without opening your computer by issuing this command: lshw -short -C memory | grep -i emptyĪ null response means all the memory slots are already in use.ĭetermining how much video memory you have requires a pair of commands. Now find out whether there are any open slots to insert additional memory sticks. One thing you'll surely want to know is is the maximum memory you can install on your computer: dmidecode -t memory | grep -i max To list each memory stick and its capacity, issue the dmidecode command: dmidecode -t memory | grep -i sizeįor more specifics on system memory, including type, size, speed, and voltage of each RAM stick, try: lshw -short -C memory You can even determine whether you can add extra memory to the computer without opening up the box. Linux line commands enable you to gather all possible details about your computer's memory. The -i flag on the grep command simply ensures your search ignores whether the output it searches is upper or lower case. Or its BogoMips power rating: lscpu | grep -i bogo To view just the CPU's speed in megahertz: lscpu | grep -i mhz ![]() For example, to view only the CPU make and model: lshw -C cpu | grep -i product With all these commands, you can reduce verbiage and narrow any answer down to a single detail by parsing the command output with the grep command. ![]() Here you can find out whether your processor supports specific features. In both cases, the last few lines of output list all the CPU's capabilities. View CPU details by issuing either the lscpu command or its close relative lshw: lscpu You can learn everything about your CPU through line commands. The long forms of these two commands spew out exhaustive-but hard to read-output: hwinfo The hwinfo and lshw commands display much of the same information in different formats: hwinfo -short ![]() The -F flag means you'll get full output, x adds details, and z masks out personally identifying information like MAC and IP addresses. It's a standard diagnostic for problem-solving: inxi -Fxz Forum participants often ask for its output when they're trying to help others solve problems. The inxi command lists details about your system, CPU, graphics, audio, networking, drives, partitions, sensors, and more. There are several line commands that will give you a comprehensive overview of your computer's hardware. The quick reference chart at the end summarizes them. This article introduces many of the most useful line commands for system discovery. So either switch to the root user ID, or issue the command under your regular user ID preceded by sudo: sudo Īnd respond to the prompt for the root password. Many line commands for detecting hardware must be issued under root authority. Whether you employ the Linux shell or another programming language, scripting typically requires coding line commands. Probably the main reason to use line commands is for writing scripts. Perhaps you don't have a GUI program available or don't want to install one. Sometimes it's easy to find a specific bit of information through a well-targeted line command. 10 command-line tools for data analysis in Linux.Or, you could issue a Linux line command. These two methods give you hardware details but omit software information. Just hit the proper program function key during the boot process to access them. Or you could enter the boot-time panels-the so-called UEFI or BIOS panels. KInfoCenter and Lshw also display hardware details and are available in many software repositories.Īlternatively, you could open up the box and read the labels on the disks, memory, and other devices.HardInfo displays hardware specifics and even includes a set of eight popular benchmark programs you can run to gauge your system's performance.i-nex collects hardware information and displays it in a manner similar to the popular CPU-Z under Windows.The easiest way is to do that is with one of the standard Linux GUI programs: You need to interrogate your computer to discover its specifications. Or, if you want to upgrade your computer, you'll need to know what you have and what you can have. For example, if you need help fixing something and post a plea in an online forum, people will immediately ask you for specifics about your computer. There are many reasons you might need to find out details about your computer hardware. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |