I am running Solaris-10 sparc and I am seeing large number of messages related to ulcm_sctp.
I tried to google, what these messages are and how it should be fixed, but I am not getting much information about it. Can somebody please some pointer or suggestion ?
I have a task to move more than 35000 files every two hours, from the same directory to another directory based on a file that has the list of filenames
I tried the following logics
(1)
find . -name \*.dat > list
for i in `cat list` do mv $i test/ done
(2)
cat list|xargs -i mv "{}"... (7 Replies)
Hi
on solaris and oracle 10g2, I have number of users created in Oracle, I wonder if I have a list of the usernames will it be possible to remove the users quickly ?
I want to keep the users access to system but oracle.
some thing like shell script may be ?:confused:
I am trying to... (4 Replies)
I want to tar large number of files about 150k.
i am using the find command as below to create a file with all file names.
& then trying to use the tar -I command as below.
# find . -type f -name "gpi*" > include-file
# tar -I include-file -cvf newfile.tar
This i got from one of the posts... (2 Replies)
Hellow i have a large number of files that i want to concatenate to one. these files start with the word 'VOICE_' for example
VOICE_0000000000
VOICE_1223o23u0
VOICE_934934927349
I use the following code:
cat /ODS/prepaid/CDR_FLOW/MEDIATION/VOICE_* >> /ODS/prepaid/CDR_FLOW/WORK/VOICE
... (10 Replies)
Hi. I need to delete a large number of files listed in a txt file. There are over 90000 files in the list. Some of the directory names and some of the file names do have spaces in them.
In the file, each line is a full path to a file:
/path/to/the files/file1
/path/to/some other/files/file 2... (4 Replies)
Hi All,
I have searched this forum for related posts but could not find one that fits mine. I have a shell script which removes all the XML tags including the text inside the tags from some 4 million XML files.
The shell script looks like this (MODIFIED):
find . "*.xml" -print | while read... (6 Replies)
Hi All,
I have a big file which looks like this:
abc 34.32
cdf 343.45
computer 1.34
ladder 2.3422
I have some 100000 .TXT files which look like this:
computer
cdf
align
I have to open each of the text files and read the words from the text files. Then I have to look into that... (2 Replies)
Hi,
I have a large number of subdirectories (>200), and in each of these directories there is a file with a name like "opp1234.dat".
I'd like to know how I could change the names of these files to say "out.dat" in all these subdirectories in one go.
Thanks! (5 Replies)
Want to sftp large number of files ... approx 150 files will come to server every minute. (AIX box)
Also need make sure file has been sftped successfully...
Please let me know :
1. What is the best / faster way to transfer files?
2. should I use batch option -b so that connectivity will be... (3 Replies)
Hi All,
I am having a situation now to delete a huge number of temp files created during run times approx. 16700+ files. We have never imagined that we will get this this much big list of files during run time. It worked fine for lesser no of files in the list. But when list is huge we are... (7 Replies)
Discussion started by: mad man
7 Replies
LEARN ABOUT BSD
sysctl
SYSCTL(8) System Manager's Manual SYSCTL(8)NAME
sysctl - get or set kernel state
SYNOPSIS
sysctl [ -n ] name ...
sysctl [ -n ] -w name=value ...
sysctl [ -n ] -aA
DESCRIPTION
The sysctl utility retrieves kernel state and allows processes with appropriate privilege to set kernel state. The state to be retrieved
or set is described using a ``Management Information Base'' (``MIB'') style name, described as a dotted set of components. The -a flag can
be used to list all the currently available string or integer values. The -A flag will list all the known MIB names including tables.
Those with string or integer values will be printed as with the -a flag; for the table values, the name of the utility to retrieve them is
given.
The -n flag specifies that the printing of the field name should be suppressed and that only its value should be output. This flag is use-
ful for setting shell variables. For example, to save the pagesize in variable psize, use:
set psize=`sysctl -n hw.pagesize`
If just a MIB style name is given, the corresponding value is retrieved. If a value is to be set, the -w flag must be specified and the
MIB name followed by an equal sign and the new value to be used.
The information available from sysctl consists of integers, strings, and tables. The tabular information can only be retrieved by special
purpose programs such as ps, systat, and netstat. The string and integer information is summaried below. For a detailed description of
these variable see sysctl(3). The changeable column indicates whether a process with appropriate privilege can change the value.
Name Type Changeable
kern.ostype string no
kern.osrelease string no
kern.osrevision long no
kern.version string no
kern.maxinodes integer no
kern.maxproc integer no
kern.maxfiles integer no
kern.maxtext integer no
kern.argmax integer no
kern.securelevel integer raise only
kern.hostname string yes
kern.hostid long yes
kern.clockrate struct no
kern.posix1version integer no
kern.ngroups integer no
kern.job_control integer no
kern.saved_ids integer no
kern.boottime struct no
vm.loadavg struct no
machdep.console_device dev_t no
net.inet.ip.forwarding integer yes
net.inet.ip.redirect integer yes
net.inet.ip.ttl integer yes
net.inet.icmp.maskrepl integer yes
net.inet.udp.checksum integer yes
hw.machine string no
hw.model string no
hw.ncpu integer no
hw.byteorder integer no
hw.physmem long no
hw.usermem long no
hw.pagesize integer no
user.cs_path string no
user.bc_base_max integer no
user.bc_dim_max integer no
user.bc_scale_max integer no
user.bc_string_max integer no
user.coll_weights_max integer no
user.expr_nest_max integer no
user.line_max integer no
user.re_dup_max integer no
user.posix2_version integer no
user.posix2_c_bind integer no
user.posix2_c_dev integer no
user.posix2_char_term integer no
user.posix2_fort_dev integer no
user.posix2_fort_run integer no
user.posix2_localedef integer no
user.posix2_sw_dev integer no
user.posix2_upe integer no
EXAMPLES
For example, to retrieve the maximum number of processes allowed in the system, one would use the follow request:
sysctl kern.maxproc
To set the hostname of the system to foo.bar.com, one would use the follow request:
sysctl -w kern.hostname=foo.bar.com
Information about the system clock rate may be obtained with:
sysctl kern.clockrate
Information about the load average history may be obtained with
sysctl vm.loadavg
FILES
<sys/sysctl.h> definitions for top level identifiers, second level kernel and hardware identifiers, and user level identifiers
<sys/socket.h> definitions for second level network identifiers
<sys/gmon.h> definitions for third level profiling identifiers
<sys/vmparam.h>
definitions for second level virtual memory identifiers
<netinet/in.h> definitions for third level Internet identifiers and fourth level IP identifiers
<netinet/icmp_var.h>
definitions for fourth level ICMP identifiers
<netinet/udp_var.h>
definitions for fourth level UDP identifiers
SEE ALSO sysctl(3)HISTORY
sysctl first appeared in 4.4BSD.
4th Berkeley Distribution June 6, 1993 SYSCTL(8)