सार (यूनिक्स)
| Stable release | sysstat 12.1.1[1]
/ October 13, 2018 |
|---|---|
| Preview release | sysstat 11.7.4
/ June 1, 2018 [2] |
| Repository | github |
| Written in | C |
| Operating system | AIX, Linux, Solaris, HP-UX |
| Type | System reporting |
| Website | sebastien |
सिस्टम गतिविधि रिपोर्ट (sar) एक यूनिक्स प्रणाली वी ी-व्युत्पन्न सिस्टम मॉनिटर कमांड है जिसका उपयोग CPU गतिविधि, मेमोरी/पेजिंग, इंटरप्ट्स, डिवाइस लोड, नेटवर्क और स्वैप विभाजन उपयोग सहित विभिन्न सिस्टम लोड पर रिपोर्ट करने के लिए किया जाता है। सार उपयोग करता है /proc सूचना एकत्र करने के लिए फाइलसिस्टम।[3]
प्लेटफॉर्म सपोर्ट
सार को मूल रूप से यूनिक्स सिस्टम वी ऑपरेटिंग सिस्टम के लिए विकसित किया गया था; यह AIX, HP-UX, Solaris और अन्य सिस्टम V आधारित ऑपरेटिंग सिस्टम में उपलब्ध है लेकिन यह macOS या FreeBSD के लिए उपलब्ध नहीं है। 2013 से पहले एक था bsdsar उपकरण, लेकिन अब इसे पदावनत कर दिया गया है।[4]
अधिकांश लिनक्स वितरण प्रदान करते हैं sar उपयोगिता के माध्यम से sysstat पैकेट।
सिंटेक्स
सर [-फ्लैग्स] [-ई टाइम] [-एफ फाइलनेम] [-आई सेकंड] [-एस टाइम]
- -f
- फ़ाइल नाम sar के डेटा स्रोत के रूप में फ़ाइल नाम का उपयोग करता है। डिफ़ॉल्ट वर्तमान दैनिक डेटा फ़ाइल है /var/adm/sa/sadd.
- -e
- समय समय तक डेटा का चयन करता है। डिफ़ॉल्ट 18:00 है।
- -i
- सेकंड अंतराल पर डेटा का चयन करता है जितना संभव हो सेकंड सेकंड के करीब।
उदाहरण
[user@localhost]$ sar # Displays current CPU activity.
सिस्स्टैट पैकेज
इसके अतिरिक्त sar आदेश, डेबियन में Linux sysstat पैकेज,[5] RedHat Enterprise Linux और SuSE अतिरिक्त रिपोर्टिंग उपकरण प्रदान करता है:
- : Collect, report, or save system activity information. – Linux User Commands Manual
- : Collect and store binary data in the system activity daily data file. – Linux Administration and Privileged Commands Manual
- : shell variant of
sar, supporting the same flags assarcommand which write a daily report in the /var/log/sa directory. – Linux Administration and Privileged Commands Manual - : , similar to
sarbut can write its data in different formats (CSV, XML, etc.). This is useful to load performance data into a database, or import them in a spreadsheet to make graphs. - : reports basic CPU statistics and input/output statistics for devices, partitions and network filesystems. – Linux User Commands Manual
- : reports individual or combined processor related statistics. – Linux User Commands Manual
- : reports statistics for Linux tasks (processes) : I/O, CPU, memory, etc. – Linux User Commands Manual
- : reports input/output statistics for network filesystems (NFS). – Linux User Commands Manual
- : reports I/O statistics for CIFS resources. – Linux User Commands Manual
यह भी देखें
- अटॉप्सर
- नमन
sag- सिस्टम गतिविधि ग्राफ कमांड[6]- केसर (यूनिक्स सार ग्राफर) - यूनिक्स सार उपयोगिताओं द्वारा एकत्र किए गए डेटा से सभी मापदंडों का ग्राफ बनाने के लिए बीएसडी लाइसेंस प्राप्त जावा-आधारित एप्लिकेशन।
- रूखा , IBM AIX CPU उपयोग रिपोर्टिंग टूल
- isag, tcl आधारित कमांड sar/sysstat डेटा प्लॉट करने के लिए
संदर्भ
- – Solaris 10 User Commands Reference Manual
- Easy system monitoring with SAR (IBM developerWorks)
- System Activity Reporter (Softpanorama)
- Article on sar at Computerhope
फुटनोट्स
- ↑ "Release v12.1.1: Sysstat-12.1.1 · sysstat/Sysstat". GitHub.
- ↑ "SYSSTAT". sebastien.godard.pagesperso-orange.fr.
- ↑ "सिसस्टैट". sebastien.godard.pagesperso-orange.fr.
- ↑ "FreshPorts -- sysutils/bsdsar: System Activity Reporter for FreeBSD". www.freshports.org.
- ↑ "डेबियन - साइड में पैकेज sysstat का विवरण". packages.debian.org.
- ↑
"sag(1)" (PDF). SUNOS Reference Manual. Mountain View, California: Sun Microsystems. 1993-02-24. pp. 1–895. Retrieved 2010-05-04.
sag - system activity graph [...] DESCRIPTION sag graphically displays the system activity data stored in a binary data file by a previous sar(1) run.
श्रेणी:नौकरी निर्धारण श्रेणी:कंप्यूटर का प्रदर्शन श्रेणी:सिस्टम प्रशासन