ba6.us - Dave's Database Related Stuff

  • home
  • blog
  • books
  • projects
  • about
  • !
Home

Search

Tags

apex data development funnies monitoring oracle perl rman sql sqlplus unix windows
more tags

Navigation

  • Feed aggregator

Recent blog posts

  • Oracle IN Condition and Multi Column Subqueries
  • SQL For Dinosaurs
  • Quickie script to run dbv on your database...
  • Permissions for Autotrace
  • Accuracy of PROFILER.SQL from Metalink Doc: 243755.1
  • Recording Oracle System Stats for historical analysis...
  • Shell Script to Run a SQLPLUS against all databases running on a server...
  • Viewing command line args with Solaris ps utility...
  • Orion IO Test Tool
  • Documented Hints available in 11.2...
more

Books

  • What Are Books?
  • Execution Plans
  • Application Express Tips
  • Copying Databases
  • Distributed Transactions
  • Instance Differences
  • Instance Info
  • Materialized Views
  • Operating System Monitoring
  • Perl
  • Perl and Oracle
  • PL/SQL
  • Real Time Monitoring of Oracle
  • SQL Profiles
  • SQLDeveloper for Non Dummies
  • Statistics
  • Tablespace Info
  • Unix Shell Scripting
  • User Security

RSS Feed - Blog Posts

Syndicate content

User login

  • Create new account
  • Request new password

solaris

Viewing command line args with Solaris ps utility...

dmann — Wed, 12/09/2009 - 16:45

If you ever used the Solaris ps -ef command to view programs that are running you may not always see the arguments the original program was started with. This command usually shows about 80 characters.

Try the following commands, they usually give you more information about the command that started the process running. Depending on the patch level of your OS you may see 200 characters or more.

/usr/ucb/ps
/usr/ucb/ps -auxwww

-Dave

  • command line
  • ps
  • solaris
  • dmann's blog
  • Add new comment

Solaris Zones & finding machine name

dmann — Thu, 05/14/2009 - 23:34

If you use Solaris Zones sometimes it is nice to be able to know the name of the global/parent machine the zone is running on.

Using 'arp -a' you can get information about network interfaces shared by the hosts on 1 machine.

I'm not going to give a whole full blown script to do this as our naming standards are probably different than yours but you can see the steps you may need to follow below to get the info:

Here is how to see all the network interfaces for you current host:

HOSTNAME=`hostname`
/u01/app/oracle >arp -a | grep $HOSTNAME
 Read more »
  • arp
  • solaris
  • zone
  • dmann's blog
  • Add new comment
Syndicate content


Cornify
  • home
  • blog
  • books
  • projects
  • about
  • !

Content Copyright 2006-2010. Links are copyright of respective owners.