10-18-2004
If you have local accounts: /etc/passwd and /etc/shadow
/etc/group
If you use DNS - /etc/resolv.conf (if it's a DNS server, there are more files but it matters how the server was set up on their location)
/etc/inittab
/etc/services
Output from eeprom
/etc/hosts
/etc/hosts.allow, /etc/hosts.deny, /etc/hosts.equiv
If using DiskSuite (SUN's disk product SUNWmd)
/etc/opt/SUNWmd/ md.cf, md.tab, mddb.cf
If using Vertias volume manager
output from vxprint, vxprint -th, vxdisk list
If running Oracle or Sybase
/var/opt/oracle/oratab /opt/sybase/interfaces
Could be more but that's all I can think of/find at this time.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How to know configuration information of the system.
like
(1) memory assigned for RAM - ?
(2) How much is the Hard disk -?
(3) processor
I used uname and du -k commands. But i couldn't get information about RAM.
which command gives this info (3 Replies)
Discussion started by: ds_sastry
3 Replies
2. UNIX for Dummies Questions & Answers
On my PC I have two hard disks, the first with Windows 98 SE and the second with Linux Mandrake 8.0 (Traktopel). When I have installed Linux, it has modified the boot record of the 1st HD and it has added a graphic menu (LILO) for selecting the OS to use. By default, if I don't press a key, Linux... (2 Replies)
Discussion started by: robotronic
2 Replies
3. HP-UX
Hello!
I would like to introduce a tool for gathering information on the HP-
UX operating system. I would like to hear experts opinions about this
utility, its prospects and usefulness. Any feedbacks, suggestions, bug
reports, feature requests etc are welcome.
The tool project web page:... (0 Replies)
Discussion started by: ahaidukov
0 Replies
4. Shell Programming and Scripting
Hi All,
Im trying to extract a bunch of systems configuration. I have created a file called data.txt and used the below scripts to run extraction of data.
Content of data.txt:
/etc/passwd
/etc/shadow
/etc/cron.allow
On the Linux terminal, I entered the following commands to execute my... (4 Replies)
Discussion started by: nerd
4 Replies
5. UNIX for Advanced & Expert Users
Hi,
We have >1000 UNIX boxes in our environment with various UNIX flavors like Solaris, HP-UX and Redhat Linux ES 3/4/5. We need to collect their system configuration like
- No. of CPUs and their frequencies
- RAM Size
- No. of HDDs installed and their usage
- Exact OS Version and its... (3 Replies)
Discussion started by: prvnrk
3 Replies
6. Shell Programming and Scripting
Hi,
Could you pls. let me know what is cammand in unix to check the system configuration on Sun solaris.
Thanks in advance.
Cheers (2 Replies)
Discussion started by: krackjack
2 Replies
7. Solaris
how to identify if the machine is sun4u ?
is this model a sun4u machine ?
Model : Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 300MHz), (2 Replies)
Discussion started by: sudhiroracle
2 Replies
8. Shell Programming and Scripting
Here with I am submitting a script , which is made for my use. It may be useful for anyone. I did't given in functions and all....
I am posting in this forum , because anyone can reply to this thread , for any change/addition.
And yea , suggestions awaiting..:)
#!/bin/bash
#
#... (3 Replies)
Discussion started by: linuxadmin
3 Replies
9. Ubuntu
Hello folks,
I pretend install Lubuntu 16.04 LTS in pc for any employer use this pc! I think create an user with, only, permission to read and write, 770.
This is the best scenario?
I think create this user through terminal, because I pretend create a script, and I don't where wizard has... (0 Replies)
Discussion started by: enodev
0 Replies
LEARN ABOUT OSX
perfdiagnose
sysdiagnose(1) BSD General Commands Manual sysdiagnose(1)
NAME
sysdiagnose -- gathers system-wide diagnostic information helpful in investigating system performance issues.
SYNOPSIS
sysdiagnose -h
sysdiagnose [-f results_directory] [-t] [-q] [-b] [process_name | pid]
DESCRIPTION
sysdiagnose tool gathers system diagnostic information helpful in investigating system performance issues. A great deal of information is
harvested, spanning system state and configuration. sysdiagnose needs to be run as root. sysdiagnose can be triggered upon pressing a spe-
cial key chord; this is currently Control-Option-Command-Shift-Period.
What sysdiagnose Collects:
o A spindump of the system
o Several seconds of fs_usage ouput
o Several seconds of top output
o Data about kernel zones
o Status of loaded kernel extensions
o Resident memory usage of user processes
o All system logs, kernel logs, opendirectory log, windowserver log, and log of power management events
o A System Profiler report
o All spin and crash reports
o Disk usage information
o I/O Kit registry information
o Network status
o If a specific process is supplied as an argument: list of malloc-allocated buffers in the process's heap is collected
o If a specific process is supplied as an argument: data about unreferenced malloc buffers in the process's memory is collected
o If a specific process is supplied as an argument: data about the virtual memory regions allocated in the process
OPTIONS
-h Print full usage.
-f results_directory
Specify the directory where the results will be stored. The default results directory is /var/tmp.
-q Skips calling footprint.
-t Enable "Thorough Mode". See below.
-b Do not show the resulting archive in a Finder window upon completion.
process_name | pid
If a single process appears to be slowing down the system, passing in the process name or ID as the argument gathers additional
process-specific diagnostic data.
THOROUGH MODE
sysdiagnose can be run in a "Thorough Mode" in which standard data is gathered as well as a kernel trace. Enabling "Thorough Mode" for the
command-line sysdiagnose and key-chord sysdiagnose are independent and are performed as follows:
For "Thorough Mode" in the command-line sysdiagnose use the "-t" flag.
To enable "Thorough Mode" for special key-chord launches of sysdiagnose execute "touch /var/tmp/.thoroughsysdiagnose"
To disable "Thorough Mode" for special key-chord launches of sysdiagnose execute "rm /var/tmp/.thoroughsysdiagnose"
Note:
Gathering the kernel trace can increase the size of sysdiagnose output by hundreds of MB as well as increase the time for sysdiagnose to com-
plete.
EXIT STATUS
sysdiagnose exits with status 0 if there were no internal errors encountered during the diagnostic, or >0 when an error unrelated to external
state occurs or unusable input is provided by the user.
Darwin June 2, 2019 Darwin