Modifying Solaris Zone Properties With a Loop.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Modifying Solaris Zone Properties With a Loop. To modify many Solaris Zone Properties, you can run a loop something like the below. Example 1

Example 2

Example 3

Running the script after copy.

Read More

Protecting Files From Getting Overwritten Mistakenly

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Protecting Files From Overwriting Mistakenly To set protection on, run the below.

To make it permanent just add to your .bashrc

An example how things will work after noclobber is set.

To forcibly overwrite the file, just add the !, like the example below.

To unset in your current shell, just […]

Read More

Backup tuning

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Run onthe zone ipadm set-prop -p max_buf=16777216 tcp ipadm set-prop -p _cwnd_max=8388608 tcp ipadm set-prop -p send_buf=2097152 tcp ipadm set-prop -p recv_buf=2097152 tcp ipadm set-prop -p _conn_req_max_q=16384 tcp ipadm set-prop -p _conn_req_max_q0=16384 tcp Add to /etc/system on global zone set ip:ip_squeue_fanout=1 set ip:ip_soft_rings_cnt =32

Read More

Solaris 11, Korn Shell 93 COMPATIBILITY

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

In Oracle Solaris 11, Korn Shell 93 (/usr/bin/ksh/ or usr/bin/ksh93) replaces both the Bourne Shell (/usr/bin/sh or /sbin/sh) and Korn Shell 88 (/usr/bin/ksh). There are some incompatibilities between the shells. They are described in: /usr/share/doc/ksh/COMPATIBILITY If a script has compatibility problems you can use the legacy shell by changing the she-bang line: If this doesn't […]

Read More

Capturing Linux network statistics – perl script

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Capture Linux network statistics Example capture output is below.

Perl script source is below

Read More