Skip to content
  • Home

Solaris – useful commands.

2011/12/01 blane

## /usr/platform/`uname -i`/sbin/scadm help (can reset console) prtdiag prtconf ## to find cdrom on solaris: ls -al /dev/sr* |awk ‘{print…

Continue Reading →

Posted in: Solaris

Solaris – NFS Mounts

2011/10/05 blane

Edit /etc/hosts and /etc/vfstab on the machine which needs the filesystem mounted. Hosts file should have servername and IP of…

Continue Reading →

Posted in: Computer stuff, Solaris

Solaris – D – Monitoring

blane

#!/usr/sbin/dtrace -s #pragma D option quiet io:::start { @[execname] = count(); } tick-5sec { printa(“%40s %@d\n”, @); clear(@); }

Continue Reading →

Posted in: Computer stuff, Solaris

Solaris – D – Shell snooping

blane

#!/usr/bin/sh # # shellsnoop – A program to print read/write details from shells, # such as keystrokes and command outputs.…

Continue Reading →

Posted in: Computer stuff, Solaris

Perl – Basic Solaris Zone Config

blane

#!/usr/bin/perl # — Written by Blane Craft — # — 11/03/06 — # ## – Basic Zone Config – ##…

Continue Reading →

Posted in: Computer stuff, Linux, Solaris

Perl – password encryption

blane

#!/usr/bin/perl print “### Password encryption utility ###\n”; print “\n”; print “What password would you like to encrypt?\n”; $pass=; chomp ($pass);…

Continue Reading →

Posted in: Computer stuff, Linux, Solaris

Got that right!

2009/06/07 blane

Continue Reading →

Posted in: Uncategorized

Post navigation

Page 1 of 4
1 2 … 4 Next →

Categories

  • Computer stuff
  • Linux
  • Solaris
  • Uncategorized
  • Home
Copyright © blanezx3