Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-18-2004, 04:20 PM   #1
LQ Newbie
Registered: Sep 2004
Posts: 2

Rep: Reputation: 0
Help With a Few Commands

Hello. Just need some help figuring out a few commands.

I need to know the following:

What command can be used to find IRQs and devices connected to them on a Linux Machine?

What command do you use to find the number of CPUs on a Linux Machine?

What command do you use to find the Total Memory as seen by the Kernel on a Linux machine?

I've tried whatis and apropos, but I'm not getting anywhere.
Any help is greatly appreciated.

Old 09-18-2004, 04:34 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
1) cat /proc/interrupts

2) cat /proc/cpuinfo

3) free or for more detail cat /proc/meminfo

Obviously, it's a usefull thing to know your way around the proc filesystem .
Old 09-18-2004, 04:37 PM   #3
LQ Newbie
Registered: Sep 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you for your help.

I'm a newbie...hence my posting on this board.

What is the proc filesytem in relation to Linux?
Old 09-18-2004, 04:44 PM   #4
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Hi apw420, welcome to lq.

1. /sbin/lscpi -v

2. I believe this will do it.
more /proc/cpuinfo | grep processor

3. free

good luck.

<edit>Late to the draw.</edit>
Old 09-18-2004, 05:21 PM   #5
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Originally posted by apw420
What is the proc filesytem in relation to Linux?
It's your window into the kernels activities.
The "files" in /proc aren't really files, they're
created by the kernel on the fly and kept
up-to-date as it goes.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Commands Instantly Linux - Newbie 3 01-12-2005 02:18 PM
commands tslinux Linux - Newbie 1 12-15-2004 07:54 AM
commands merchtemeagle Linux - Newbie 6 10-12-2004 11:38 AM
Help with commands! snowbaby Linux - Software 1 12-02-2001 03:15 PM
Commands Susan Linux - General 5 10-11-2001 03:40 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration