Sponsored Content
Operating Systems HP-UX max limit in in setting array Post 302419497 by gomathi on Friday 7th of May 2010 10:38:32 AM
Old 05-07-2010
is there any other way to overcome this
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

setting max log file size...

Hello all! I have found a new home, this place is great! I have been searching for days to find a way to set a max size for a log.txt file using a cron job exicuting a shell script. Is it possible for a script to remove older entries in a log file to maintain a limited file size? If so,... (5 Replies)
Discussion started by: v-rod
5 Replies

2. UNIX for Advanced & Expert Users

MAX SIZE ARRAY Can Hold it

Hi, Do anyone know what's the max size of array (in awk) can be store before hit any memory issue. Regards (3 Replies)
Discussion started by: epall
3 Replies

3. Shell Programming and Scripting

TCL Socket max Limit settting

How to set the max limit for socket opening TCL Thanks, Ajay (1 Reply)
Discussion started by: aju_kup
1 Replies

4. SuSE

Setting the max open files value

I'm trying to set the open files value to 4000 on a SLES 9 system. Current values:ulimit -n 1024 I can set it using this:ulimit -n 4000 ulimit -n 4000 But this obviously sets it only for the shell session where I run the command to set it. I want to set this to 4000 for all time. ... (3 Replies)
Discussion started by: blowtorch
3 Replies

5. Shell Programming and Scripting

Creation of directoryname with Max limit

Hi, Please provide your inputs.. # define PATH_MAX 1023 /* max number of characters in a pathname (not including terminating null) */ Could you please let me know how to create directory name(or pathname) with above PATH_MAX length in korn shell scripting.. ... (9 Replies)
Discussion started by: mansa
9 Replies

6. Linux

file-max limit

Oct 31 00:00:02 FIREWALL003 syslogd 1.4.1: restart. Oct 31 00:00:02 FIREWALL003 syslogd 1.4.1: restart. Oct 31 00:00:02 FIREWALL003 syslogd 1.4.1: restart. Oct 31 02:37:09 FIREWALL003 kernel: srmLINUX: segfault at 00000000303a3031 rip 000000000026fe54 rsp 00000000ffbd05b8 error 4 Oct 31... (5 Replies)
Discussion started by: itik
5 Replies

7. Shell Programming and Scripting

Finding Max value from an array

Hi, I need to find max and second max element from an array. array contains 0338,0337,0339,0340,0401,0402,0403 (10 Replies)
Discussion started by: vjasai
10 Replies

8. Shell Programming and Scripting

awk, max value, array, row

Hello: I want to print out the entire row with max value in column 3 based on column 2. Input file is millions rows. test.dat: Contig1 lcl|1DL 111 155 265 27 Contig2 lcl|1DS 100 73 172 100 Contig3 lcl|1DL 140 698 837 140 Contig3 lcl|6DS 107 1488 1594... (1 Reply)
Discussion started by: yifangt
1 Replies

9. AIX

Profile Max CPU Setting

I have a system with the following settings: min:0.10 Assigned: 2.0 Max: 6.0 Partition is uncapped weight is 128. I would like to know if even if this is uncapped, is the max it can use 6? The actual pool has 16. I remember reading about this somewhere but I don't remember can anyone... (3 Replies)
Discussion started by: techy1
3 Replies

10. Ubuntu

Max Open File Limit

Ubuntu users, I am configuring an Ubuntu 14.04 server as a load injector. I have appended the hard and soft limits to /etc/security/limits.conf for any user (apart from root): * hard nofile 65536 * soft nofile 65536 I am seeing the figure 65536 in... (5 Replies)
Discussion started by: aidylewis
5 Replies
dskx(8) 						      System Manager's Manual							   dskx(8)

Name
       dskx - generic disk exerciser

Syntax
       /usr/field/dskx [ options ] -rdev
       /usr/field/dskx [ options ] -pdevpart
       /usr/field/dskx [ options ] -cdev

Description
       The exerciser tests the disk drives on your system.  The exerciser has three main options which include read only, write/read/validate data
       on a partition, and write/read/validate data of a disk.

       The exerciser does random seeks and reads of random block sizes and random seeks, writes, reads, and validations of random data patterns of
       random block sizes. The exerciser will run until or kill -15 pid is sent to the process.

       A  logfile is made in for you to examine and then remove. If there are errors in the logfile, make sure you check the file, because that is
       where the driver and kernel error messages are saved.

       CAUTION: Both the -c and -p options of the exerciser destroy data on the disk.  Use extreme caution before using them  on  any  non-scratch
       media.  If you are unsure of what data is on the disk, contact your system manager before running with either of these options.

Arguments
       One of the following function flags and arguments must be specified.

       -rdev	 Performs a random read-only test on all partitions except the c partition.  The dev argument can be a raw or buffered device name
		 and number.  For example, rhp0, ra3, hk1.

       -pdevpart Writes, reads, and validates data from the device name and number specified by dev and the partition specified by part.  The  dev
		 argument  can be a raw or buffered device name and number.  For example, rhp0, ra3, hk1.  The part argument can be any valid par-
		 tition from a - h.

		 CAUTION:  Be careful when exercising partitions that overlap other partitions, as you may inadvertently destroy data on a  parti-
		 tion that you do not want to test.  You can use the -q option of the command to see what partitions overlap on the device on your
		 system.

       -cdev	 Writes, reads, and validates data from all partitions except the c partition on the device specified by dev.	The  dev  argument
		 can be a raw or buffered device name and number.  For example, rhp0, ra3, hk1.

Options
       The options are:

       -h	 Prints help message for the command.

       -ofile	 Saves output diagnostics in file.

       -tn	 Specifies the run time in minutes (n).  The default is to run until the process receives a or kill -15 pid.

       -dm	 Prints statistics every m minutes.

Restrictions
       If  there  is  a  need to run a system exerciser over an NFS link or on a diskless system there are some restrictions.  For exercisers that
       need to write into a file system, such as the target file system must be writable by root.  Also the directory, in which any of	the  exer-
       cisers  are  executed,  must be writable by root because temporary files are written into the current directory.  These latter restrictions
       are sometimes difficult to overcome because often NFS file systems are mounted in a way that prevents root from writing into them.  Some of
       the restrictions may be overcome by copying the exerciser to another directory and then executing it.

Examples
       The following example exercises RA disk unit 1, for 60 minutes in the background:
       % /usr/field/dskx -t60 -cra1 &
       The following example exercises raw HP disk unit 0, partition d, until or kill -15 pid:
       % /usr/field/dskx -prhp0d

See Also
       Guide to System Exercisers

																	   dskx(8)
All times are GMT -4. The time now is 09:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy