Sponsored Content
Operating Systems AIX Permanently set maxdata to maximum Post 302954477 by MichaelFelt on Tuesday 8th of September 2015 09:41:23 AM
Old 09-08-2015
The only fair answer is "It depends" on what the application needs.

FYI: you can also use the program ldedit to change this value. Something else I would recommend is to change the default page size from 4k to 64k.

p.s. when I am back from vacation I will add links to on line documentation - unless someone else beats me to it.
This User Gave Thanks to MichaelFelt For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

compatibilty with MAXDATA machines

hi, I'm thinking of buying a Maxdata laptop 3100x. Only problem is that I'll need to run LINUX on it, and I've been warned that some machines don't run UNIX due to problems with their graphics cards. I contacted Maxdata, who say they've never tested their machines for UNIX-compatibility, which... (1 Reply)
Discussion started by: perturbed
1 Replies

2. AIX

I can not increase the maxdata to 2 G.B

Please can anyone help me in my problem my problem is i have AIX 5.3 and We need 1 GB of data segment size available and we found To set the data segment size to 1 GB, set the LDR_CNTRL variable to LDR_CNTRL=MAXDATA=0x40000000@DSA. But after we set it and check with command “$ dump -X64 -o... (0 Replies)
Discussion started by: mghazaly
0 Replies

3. Shell Programming and Scripting

lynx browser set permanently option

hi all, is there somebody that know how can I set an permanently option for the lynx text browser? The reason is if I open some URL's and type my login infos then lynx show follow message: P)roceed, use G)ET or C)ancel Server asked for 301 redirection of POST content to URL: The UNIX... (1 Reply)
Discussion started by: research3
1 Replies

4. Solaris

How do i permanently set bash profile??

Hi all, I don't want to enter below command on solaris every time. How do i permanently set this command on Solaris. I know that this operation is a piece of cake on redhat because there is a /etc/rc.local file on it. But Solaris ???? bash-3.00#export PS1="\e (2 Replies)
Discussion started by: getrue
2 Replies

5. Red Hat

set device mode permanently with udev rule

On a test server running CentOS 6, I try to permanently set the owner, group and mode of disk devices for use with a DB2 database. For this I created an udev rule file /etc/udev/rules.d/99-db2.rules: KERNEL=="sdb*", OWNER="db2usrl1", GROUP="db2adml1", MODE="0600" After a reboot, the owner and... (4 Replies)
Discussion started by: hergp
4 Replies

6. UNIX for Advanced & Expert Users

gmail revert to old look permanently

I thought I would share gmail revert to old look permanently. I am sure I am not the only one annoyed by the new look. Install Stylish extension Choose the Stylish UserStyle that you want. I know The Return of Old Gmail and gmail-b2b both work but I prefer gmail-b2b since I think it looks... (0 Replies)
Discussion started by: cokedude
0 Replies

7. Red Hat

Change service name permanently

Hi, Since everything is doable in Linux so far, what is the ability of changing a spicifc service name permanently. e.g. I want to change the network service name to connection, so I can use chkconfig command as follow: chkconfig connection off --level 5 # for disabling network service in... (7 Replies)
Discussion started by: leo_ultra_leo
7 Replies

8. UNIX for Dummies Questions & Answers

Set maximum memory for user

Hi, I have as Solaris 10 (x86) system. I want to set the maximum memory for the user But the following comaand is valid only till next reboot.Pls let me know how to make it permanenent. prctl -n project.max-shm-memory -r -v 4G -i project 3 (6 Replies)
Discussion started by: Rossdba
6 Replies

9. Solaris

Set autolist permanently

Hi , How to set autolist permanently in Solaris 10 (2 Replies)
Discussion started by: ankit.padhiyar
2 Replies

10. Red Hat

Cannot set 'soft limits' for 'maximum stack size' for a standard user

Hi Guys, I'm trying to install Oracle Database on to Oracle Linux 7.6 but when the database install package checks the OS set-up, it keeps on failing on the soft limits for the stack. It's default value is 8192 but I'm trying to set it to 10240. This is what I added to... (2 Replies)
Discussion started by: ASGR
2 Replies
KTRACE(1)						    BSD General Commands Manual 						 KTRACE(1)

NAME
ktrace, ktruss -- enable kernel process tracing SYNOPSIS
ktrace [-aCcdins] [-f trfile] [-g pgrp] [-p pid] [-t trstr] ktrace [-adis] [-f trfile] [-t trstr] command ktruss [-aCcdilnRT] [-e emulation] [-f infile] [-g pgrp] [-m maxdata] [-o outfile] [-p pid] [-t trstr] ktruss [-adinRT] [-e emulation] [-m maxdata] [-o outfile] [-t trstr] [-v vers] command DESCRIPTION
ktrace enables kernel trace logging for the specified processes. Kernel trace data is logged to the file ktrace.out. The kernel operations that are traced include system calls, namei translations, signal processing, and I/O. Once tracing is enabled on a process, trace data will be logged until either the process exits or the trace point is cleared. A traced process can generate enormous amounts of log data quickly; It is strongly suggested that users memorize how to disable tracing before attempting to trace a process. The following command is sufficient to disable tracing on all user owned processes, and, if executed by root, all processes: $ ktrace -C The trace file is not human readable; use kdump(1) to decode it. ktruss is functionally the same as ktrace except that trace output is printed on standard output or to the file specified with the -o option. ktruss is useful to see the kernel operations interleaved with the program output. The options are as follows: -a Append to the trace file instead of truncating it. -C Disable tracing on all user owned processes, and, if executed by root, all processes in the system. -c Clear the trace points associated with the specified file or processes. -d Descendants; perform the operation for all current children of the designated processes. -f trfile Log trace records to trfile instead of ktrace.out. -f infile Read the trace records from infile and print them in a human readable format to standard out. -g pgid Enable (disable) tracing on all processes in the process group (only one -g flag is permitted). -i Inherit; pass the trace flags to all future children of the designated processes. -l Poll the trace file for new data and print it to standard out. Only for use together with the -f option. -m maxdata Print at most maxdata bytes of data. This is used for pointer type arguments, e.g., strings. The data will be escaped in C-style unless -x is specified when it will be output in hex and ascii. -n Stop tracing if attempts to write to the trace file would block. This option always affects ktruss and only affects ktrace when writing to stdout. If this flag is not set, then the traced program will block until it can write more data to the trace file descriptor. -o outfile Log trace records to outfile. Without this option ktruss will print its output in a human readable format to standard out. -p pid Enable (disable) tracing on the indicated process id (only one -p flag is permitted). -s Write to the trace file with synchronized I/O. -R Display relative time stamps to output. -T Same as the -R option, but use absolute timestamps instead. -t trstr The string argument represents the kernel trace points, one per letter. The following table equates the letters with the trace- points: A trace all tracepoints a trace exec arguments c trace system calls e trace emulation changes f trace open file descriptors after exec i trace I/O n trace namei translations S trace MIB access (sysctl) s trace signal processing u trace user data v trace exec environment w trace context switches + trace the default set of trace points (c, e, i, l, m, n, s, u) - do not trace following trace points -e emulation If an emulation of a process is unknown, interpret system call maps assuming the named emulation instead of default "netbsd". command Execute command with the specified trace flags. -v version Determines the version of the file generated. Version 0 is the compatible ktrace format, and version 1 is the new format with lwp IDs and nanosecond (instead of microsecond) timestamps. The -p, -g, and command options are mutually exclusive. The -R and -T options are also mutually exclusive. EXAMPLES
# trace all kernel operations of process id 34 $ ktrace -p 34 # trace all kernel operations of processes in process group 15 and # pass the trace flags to all current and future children $ ktrace -idg 15 # disable all tracing of process 65 $ ktrace -cp 65 # disable tracing signals on process 70 and all current children $ ktrace -t s -cdp 70 # enable tracing of I/O on process 67 $ ktrace -ti -p 67 # run the command "w", tracing only system calls $ ktrace -tc w # disable all tracing to the file "tracedata" $ ktrace -c -f tracedata # disable tracing of all processes owned by the user $ ktrace -C # run the command "w", displaying to standard output $ ktruss w # trace process 42 and log the records to "ktruss.out" $ ktruss -p 42 -o ktruss.out # poll ktruss.out for available records and print them $ ktruss -lf ktruss.out SEE ALSO
kdump(1), ktrace(2) HISTORY
The ktrace command appears in 4.4BSD. BSD
June 1, 2011 BSD
All times are GMT -4. The time now is 05:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy