General :: Get Hardware Information On Ubuntu Using Dmidecode Command?
Mar 8, 2011
Dmidecode is a tool for dumping a computer's DMI (some say SMBIOS ) table contents in a human-readable format. This table contains a description of the system's hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision. Thanks to this table, you can retrieve this information without having to probe for the actual hardware. While this is a good point in terms of report speed and safeness, this also makes the presented information possibly unreliable.
The DMI table doesn't only describe what the system is currently made of, it also can report the possible evolutions (such as the fastest supported CPU or the maximal amount of memory supported).
SMBIOS stands for System Management BIOS , while DMI stands for Desktop Management Interface. Both standards are tightly related and developed by the DMTF (Desktop Management Task Force). code...
I am sure this has been covered before, however I do not know which terms to sue for searching for this, so I will try and explain it.
I have a program that I run at startup to connect me to my work VPN, specifically the Cisco VPN client. When running the program, it prompts me for my username and password. I would like to be able to automate the login process by piping the username and password into the program everytime it starts up (username and password cannot be passed as arguments to the program)
Something like echo username | echo password | vpn_script
Our simulations generate some big files, I want to save them under /scratch and then ln -s /scratch/$USER/XXX1234/filename to user's project work area. If user runs the ln command after rlogin or rsh to different machine, then he can't see the link from his local machine. How can I add machine information into the ln command, so user can always access the file no matter he rlogin which machine.
I dont have under system->admin networking, but i do have netwroking tools (I have the latest version of ubuntu) and I am wondering - what command can i type in to the terminal to see the dns information? also can I install "network" for ubuntu?
I'm trying to find a command or program to show what files and folders are taking up the most space on the hard drive, much like tree size view on windows, is there and equivalent on linux?
How would you make NIS user information override local user information on client systems? This is what I think is right? Add nis on the passwd registration file on the second line Is this correct?
I used an execl call to dmidecode and parsed it using sed to get serial numbersso a business friend could make a (mostly) unique serial when his cross platform software is installed on different machines.I know this is falling outside the spirit of Linux being a profit thing, but the request has been to now do the same thing without using Linux commands. Which sounds like a chore since I would be re-inventing something that already exist namely dmidecode. Is the source available for dmidecode?I have no idea where to start to look for the info like dmidecode provides.
When I do System > Applications > Update System, it brings up a list of updates, and can tell me what each update is meant to fix (i.e. "fixes a bug in the flux capacitor so time travel works again (CVE-01234)"). How do I get similar info from the command line- I can't get it through yum, can I?
I'm sure this answer is out there but I cannot find it. I thought there was a command you could put in the terminal to find out what version of Fedora you are running and also tell which architecture (either 32 bit or 64 bit) it is. Does anyone know what that command is?
I'm trying to write a program which would get information from a webpage and display the information on my desktop sort of like a widget. I kind of remember there being something like this already made, but for the life of me I can't remember what it's calledDoes anyone know?
I am willing to learn. I purchased and am currently reading The Official Ubuntu Server Book, and I think I have found my first side project. First, the book said Ubuntu Server is pretty much coded with a scripting language called Python. I want to define the different init levels of my server. I want to define like init 5 to have a GUI interface, just for kicks. A GUI might come in handy when doing certain things in Ubuntu Server, I just don't know, simply because I've been working on the command line. So my first question is, do I need to learn Python to script in Ubuntu Server? I have very little experience coding let alone scripting. The book has example of Upstart scripts, but I was wondering if the language is Python?
So I guess my question is a general question to scripting If I were to focus my time in learning Python as well, would I be able to customize/utilize more of Ubuntu Server? I'm not exactly sure what to learn/read as well to this. I'm trying to broaden my horizons, and I've decided to experiment with Ubuntu Server.
When I view a file in Linux with the 'less' command, I often only get a ":" prompt in the bottom left corner. There's no clue about how long the file will be, or at which location I am currently. When reading manpages with 'man', there's a file title and line number in that corner. And once I hit the end of the file, there's even a percentage shown. I've learned about 'less -m' but it's not that powerful. So what does 'man' differently from 'less'? They appear to be the same viewing programme, except for that file information difference.
I have the HVR-2200 TV card, which works great in windows, And I have found the linux driver.[URL]... What I cant do is figure out how to install the driver/firmware information in Ubuntu 10.04.
In top, I can see programs that are sleeping but are taking up memory and CPU. If a program is sleeping then how is this possible? Maybe it might have some memory reserved but then what about CPU? Also, it says there are four users, but I can see only two users, myself and root. How can I find out who the other two users are?
I am new to Scripting. My task is to create a script that would pull the old server(unix) and new server(linux) information and should display all the task information for migration/cutover purpose to the other areas. We already have a script that gives information about ip, subnet, gateway and other information as follows: #readip ad30db01 Server IP Subnet Gateway VLAN 10.x.x.x 255.x.x.x 10.x.x.1 100
There is a main server which has info about all the servers and we execute the readip from the main server which gets info about any old or new server. So, in my script, I am calling this script, and I want to display only few contents of the readip output as follows: Hostname: (I should display the server ip from the read ip only out) Subnet: Should display the subnet from the readip output Gateway: Same Vlan: Same
how possible it is if at all to get information out from remote printers?Mainly i'd like to know the printer trays the printer has available and how the printer has assigned names to those trays, in order for me to send print jobs to specific print trays and know that i'm using the correct tray name whereas currently its a guess and thus probably not workingI have lpr and have printcap file set-up and have no problems in printing, I just want to be able to specify more options and in order to do this i feel i need to probe the printer somehow to find out what options are available?
Ubuntu Documentation > Ubuntu 9.04 > Ubuntu Server Guide > Security > User Management states that there is a default minimum password length for Ubuntu:
Say the password is to be modified by the user using passwd. Is there a command for displaying the current password policies for a user (such as the chage command displays the password expiration information for a specific user)?
This is rather than examining various places that control the policy and interpreting them since the process could contain errors. A command that reports the composed policy would be used to check the policy setting steps.
is there a way to retrieve the processor model without taking information from bios? I don't know which processor is really mounted. I want to set up the right processor timing, but I don't know the processor type. Every time I change the timing for the processor in BIOS another processor type is determined (I should be an Athlon XP +1500, I think, but I don't know really).
I think with less /proc/cpuinfo the results depends on the timing that is set in bios. So could you tell me how I can find out which processor is really mounted?