12-28-2009
Regarding /proc
If you are adding the kernel module without any module parameter passing, it should print out following information to info1 file so that user can make read access to info1 file (via, for example, cat /proc/info1):
• Processor type
• Kernel version
• Total number of the processes currently available in the system - Number of User process and Kernel process
• The amount of memory configured into this computer
• Amount of time since the system was last booted
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
The df/bdf command shows /proc 100% full all the time. What does /proc contain? and why 100% all the time even on a new setup. (1 Reply)
Discussion started by: asutoshch
1 Replies
2. UNIX for Dummies Questions & Answers
hi,
we all know /proc is about the information of active process,
I have just read an artical which said you can use /proc/cpuinfo,
/proc/net./proc/meminfo etc. to know about some hardware
information .But I want to know how to use with command line? (1 Reply)
Discussion started by: fuqiang1976
1 Replies
3. UNIX for Advanced & Expert Users
Anyone know what the difference between the /proc filesystems under Linux and SunOS?
Thanx In Advance!
-Lola (1 Reply)
Discussion started by: Sparticus007
1 Replies
4. Programming
Hello all ,
We have a c program ,
it is running well on AIX 4.3.3.0 .But when we run it on
AIX 4.2.1.0 version the program exit when it begin to do this
command : Exec sql connect .
N.B: The version of C compiler is :4.2
Database :Oracle8
thanks in advance .
Elie . (2 Replies)
Discussion started by: eyounes
2 Replies
5. UNIX for Advanced & Expert Users
/proc is filing up my root filesystem. Can you delete any of the4 ID numbers out of /proc. Please help me. (3 Replies)
Discussion started by: aojmoj
3 Replies
6. UNIX for Dummies Questions & Answers
I did a search on this, but didn't find exactly the answer I'm looking for. What exactly is the proc directory for? Showing processes spawned by users? I ask because I have some very large files in that directory by multiple users and its affecting my disk usage. Can you limit how many... (2 Replies)
Discussion started by: kymberm
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
What are the various way's to fix /proc folder in redhat linux 7.2 and how to verify /proc folder is proper or croupted?
Thank in advance
Bache Gowda (7 Replies)
Discussion started by: bache_gowda
7 Replies
8. Programming
1. Software Requirments For Pro*c/c++ ,
2. Need Pro* C/c++ Compiler,
3. Documents For Installing Proc* C Compiler (3 Replies)
Discussion started by: contactmadhuin
3 Replies
9. Programming
:)
hi all !
Please help me
When I select data from oracle with proc * C prog.
I count the number of rows
For example the total rows is 1000000
but the number of result return is a limit number 5000 for ex
So How can I know this limit (5 Replies)
Discussion started by: iwbasts
5 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I am trying to calculate the CPU Usage by getting the difference between the idle time reported by /proc/stat at 2 different intervals. Now the 4th entry in the first line of /proc/stat will give me the 'idle time'. But I also came across /proc/uptime that gives me 2 entries : 1st one as the... (0 Replies)
Discussion started by: coderd
0 Replies
LEARN ABOUT NETBSD
modload
MODLOAD(8) BSD System Manager's Manual MODLOAD(8)
NAME
modload -- load a kernel module
SYNOPSIS
modload [-fP] [-b var=boolean] [-i var=integer] [-s var=string] module
modload -p [-b var=boolean] [-d var] [-i var=integer] [-m plist] [-s var=string]
DESCRIPTION
The modload utility loads a kernel module specified by the module parameter into the running system.
Modules are loaded from the default system module areas unless the module parameter contains a path separator character ('/').
The options to modload are as follows:
-b var=boolean Pass the module a boolean property with the name var. boolean may be either true or false.
-d var When used in conjuction with -m, delete var from the plist specified.
-f When a module is loaded, the kernel checks if the module is compatible with the running kernel and will refuse to load mod-
ules that are potentially incompatible. This option disables compatibility checks. Note: an incompatible module can cause
system instability, including data loss or corruption.
This option is also required for re-enabling a builtin module that was disabled using modunload(8).
-i var=integer Pass the module an integer property with the name var and integral value integer.
-m plist When used in conjuction with -p, merge new options with an existing property list contained in plist.
-P This option tells the kernel not to load an associated property list.
-p Output a property list suitable for loading along with a module. When using this option, you do not need to specify a mod-
ule. Use -m and -d to read and modify an existing property list.
-s var=string Pass the module a string property with the name var and string value string.
DIAGNOSTICS
The modload utility exits with a status of 0 on success and with a nonzero status if an error occurs.
SEE ALSO
module(7), modstat(8), modunload(8)
HISTORY
The modload command was designed to be similar in functionality to the corresponding command in SunOS 4.1.3.
BSD
August 6, 2011 BSD