Solaris 8.0 Common Command interpretation

Source: Internet
Author: User

Debugging

Truss Executable

/* Trace doing of given command (useful debugging) * *

Truss-f-P <pid of a shell>

/* Using Multiple windows, this can is used to trace setuid/setgid programs * *

[Back to top]

ARP, Ethernet trouble shooting

Arp-a.

/* Shows the Ethernet address ARP table * *

Arp-d Myhost

/* Delete a stale Ethernet entry for host Myhost * *

Disk Commands

Du-k.

/* Reports disk space used in kilobytes * *

Du-sk.

/* Reports only total disk spaces used in kilobytes * *

Du-ad/var | Sort-nr

/* tells you to The/var files are in reverse order * *

fdformat-d-U

/* Format Diskette * *

/usr/bin/iostat-e

/* Command to display drives statistics * *

/bin/mount-f Hsfs-o Ro/dev/sr0/cdrom

* Mount an ISO 9660 CDROM * *

Prtvtoc/dev/rdsk/c0t0d0s2

/* Disk Geometry and Partitioning info * *

Quot-af

/* How much of the space are used by the users in kilobytes * *

Driver Parameters

NDD/DEV/IP \?

/* shows IP variables in the kernel * *

NDD/DEV/IP ip_forwarding

/* tells you if forwarding are on (=1) */

NDD-SET/DEV/IP ip_forwarding 1

/* Enables IP forwarding between interfaces * *

File manipulation

Dos2unix | -ascii <filename>

/* Converts DOS file formats to Unix * *

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.