The document discusses how to install, configure, and use the sysstat utilities to generate system activity reports on Linux systems. It provides steps to install the sysstat package, enable and start the sysstat service, and configure default settings and cron jobs. It also describes the various sysstat command line tools like sar, iostat, mpstat and their options to generate CPU, memory, disk, network and other reports.
AWS Summit Seoul 2023 | KB의 통합 음성 AI서비스의 현재와 미래 - 하이브리드 클라우드 기반의 똑똑한 AI상담원 콜봇Amazon Web Services Korea
KB국민은행은 하루에도 수만 건의 콜을 처리하는 컨택센터와, 스타뱅킹 등의 모바일 어플리케이션을 통한 AI 챗봇 상담에 이르기까지 모든 고객의 지원 채널을 클라우드와 AI 기반으로 혁신하고 있습니다. KB가 자체적으로 개발한 금융 특화 언어모델인 KB-STA 를 비롯, 음성에 최적화된 Voice UI 기반의 AI상담서비스 사례를 알아 봅니다. 또한 클라우드 기반 고객 지원 채널의 효과에 대한 정량적 분석과, 향후 로드맵을 포함하는 발전계획도 함께 공유하여, 금융권 뿐만 아니라 고객 지원 채널 혁신을 필요로 하는 다양한 업계에 좋은 레퍼런스가 될 것입니다.
[SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか? de:code 2017
大規模災害や管理者のオペレーションミス、標的型攻撃による管理者アカウントの乗っ取りなど、様々な理由で Active Directory や Azure Active Directory が正常に利用できなくなった場合に IT 管理者はどうすれば良いのか、事前に何を準備しておけば良いのかの対策について具体例を交えて紹介致します。
受講対象: Active Directory の設計と運用を担当するエンジニア
製品/テクノロジ: Microsoft Azure/アイデンティティ (AD/Azure AD)/クラウド/事業継続/運用/セキュリティ
渡辺 元気
NTTコミュニケーションズ株式会社
クラウドサービス部
主査
AWS Summit Seoul 2023 | KB의 통합 음성 AI서비스의 현재와 미래 - 하이브리드 클라우드 기반의 똑똑한 AI상담원 콜봇Amazon Web Services Korea
KB국민은행은 하루에도 수만 건의 콜을 처리하는 컨택센터와, 스타뱅킹 등의 모바일 어플리케이션을 통한 AI 챗봇 상담에 이르기까지 모든 고객의 지원 채널을 클라우드와 AI 기반으로 혁신하고 있습니다. KB가 자체적으로 개발한 금융 특화 언어모델인 KB-STA 를 비롯, 음성에 최적화된 Voice UI 기반의 AI상담서비스 사례를 알아 봅니다. 또한 클라우드 기반 고객 지원 채널의 효과에 대한 정량적 분석과, 향후 로드맵을 포함하는 발전계획도 함께 공유하여, 금융권 뿐만 아니라 고객 지원 채널 혁신을 필요로 하는 다양한 업계에 좋은 레퍼런스가 될 것입니다.
[SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか? de:code 2017
大規模災害や管理者のオペレーションミス、標的型攻撃による管理者アカウントの乗っ取りなど、様々な理由で Active Directory や Azure Active Directory が正常に利用できなくなった場合に IT 管理者はどうすれば良いのか、事前に何を準備しておけば良いのかの対策について具体例を交えて紹介致します。
受講対象: Active Directory の設計と運用を担当するエンジニア
製品/テクノロジ: Microsoft Azure/アイデンティティ (AD/Azure AD)/クラウド/事業継続/運用/セキュリティ
渡辺 元気
NTTコミュニケーションズ株式会社
クラウドサービス部
主査
AWS 기반 지속 가능한 데이터 분석 플랫폼 구축하기
소성운, 지그재그
한명의 데이터 분석가로서 AWS를 통해 어떻게 손쉽게 분석 플랫폼을 구축할 수 있는지 사례를 통해 알아봅니다. 1위 초등 스마트 홈러닝 서비스인 아이스크림 홈런에서 사용자의 학습 데이터를 분석하기 위해 Amazon Kinesis, Glue, Redshift 등의 서비스를 사용하면서 겪었던 문제와 해결 노하우를 공유합니다. 또한, 매일 신상품이 1만건 이상 등록되고, 월 활성화유저(MAU) 230만에 육박하는 쇼핑몰 모음 서비스인 지그재그에서 데이터 전처리 부터 시각화까지 Amazon S3, EMR, Glue, Tableau(BI) 도구를 통해 통해 어떻게 클라우드를 통해 단발성이 아닌 지속 가능한 관리 가능한 데이터 분석 프로세스를 만들 수 있는지 알아봅니다.
실제 대규모 글로벌 콜센터 도입 경험을 바탕으로 기업 규모의 고객이 콜센터를 Amazon Connect로 구축하는 과정을 설명드립니다. 단순한 소개를 벗어나 보안을 위한 네트워크 설정부터 AWS 기계 학습 서비스 또는 3rd party 솔루션 도입 방법 그리고 다수의 상담원을 대상으로 구축해야 하는 계정 관리부터 라우팅 전략까지 기업 고객 입장에서 고려해야 하는 필수 내용을 소개해 드립니다.
AWS Summit Seoul 2023 | 혁신의 키워드는 '조직'과 '문화' - 하이브리드 클라우드 플랫폼과 agile 조직이 만드는 혁신Amazon Web Services Korea
한화생명의 혁신적인 디지털 조직인 플랫폼 개발팀은 하이브리드 랜딩 존을 활용한 DevSecOps와 AWS EKS를 활용한 MSA 기반의 AWS의 하이브리드 클라우드 플랫폼을 20여 개 이상의 디지털 서비스를 보헙업계에 Agile하게 선보이고 있으며, 특히 국내 최초로 AWS Outposts를 선택하여 금융권의 주목을 끌었습니다. 한화생명은 빠르게 변화하는 시장의 요건을 충족하기 위해 플랫폼 개발팀에서 플랫폼을 내재화하여, 정책 결정이나 기술적 아키텍처 설계 등 핵심 업무를 직접 담당하며 운영하고 있습니다. 이 Agile한 개발 조직 문화가 AWS 하이브리드 클라우드 플랫폼과 함께 어떠한 시너지를 만들고 있는지 플랫폼 개발팀의 사례를 통해 공유드립니다.
DAT302_Deep Dive on Amazon Relational Database Service (RDS)Amazon Web Services
Amazon RDS enables customers to launch an optimally configured, secure and highly available database with just a few clicks. It provides cost-efficient and resizable capacity while managing time-consuming database administration tasks, freeing you up to focus on your applications and business. Amazon RDS provides you six database engines to choose from, including Oracle, Microsoft SQL Server, PostgreSQL, MySQL and MariaDB. In this session, we take a closer look at the capabilities of the RDS service and review the latest features available. We do a deep dive into how RDS works and the best practices to achieve the optimal performance, flexibility, and cost saving for your databases.
지난 AWS re:Invent 2022에서 소개된 내용 가운데 디지털 네이티브 비즈니스 리더분들께서 주목할만한 AWS 기술(혁신, 데이터, 현대화)에 대한 AWS 신규 서비스와 고객 사례를 공유합니다.
발표자:
Channy Yun, Principal Developer Advocate, AWS
Hyo Choi, Solutions Architect, AWS
Yoosung Jeon, Solutions Architect, AWS
AWS 기반 지속 가능한 데이터 분석 플랫폼 구축하기
소성운, 지그재그
한명의 데이터 분석가로서 AWS를 통해 어떻게 손쉽게 분석 플랫폼을 구축할 수 있는지 사례를 통해 알아봅니다. 1위 초등 스마트 홈러닝 서비스인 아이스크림 홈런에서 사용자의 학습 데이터를 분석하기 위해 Amazon Kinesis, Glue, Redshift 등의 서비스를 사용하면서 겪었던 문제와 해결 노하우를 공유합니다. 또한, 매일 신상품이 1만건 이상 등록되고, 월 활성화유저(MAU) 230만에 육박하는 쇼핑몰 모음 서비스인 지그재그에서 데이터 전처리 부터 시각화까지 Amazon S3, EMR, Glue, Tableau(BI) 도구를 통해 통해 어떻게 클라우드를 통해 단발성이 아닌 지속 가능한 관리 가능한 데이터 분석 프로세스를 만들 수 있는지 알아봅니다.
실제 대규모 글로벌 콜센터 도입 경험을 바탕으로 기업 규모의 고객이 콜센터를 Amazon Connect로 구축하는 과정을 설명드립니다. 단순한 소개를 벗어나 보안을 위한 네트워크 설정부터 AWS 기계 학습 서비스 또는 3rd party 솔루션 도입 방법 그리고 다수의 상담원을 대상으로 구축해야 하는 계정 관리부터 라우팅 전략까지 기업 고객 입장에서 고려해야 하는 필수 내용을 소개해 드립니다.
AWS Summit Seoul 2023 | 혁신의 키워드는 '조직'과 '문화' - 하이브리드 클라우드 플랫폼과 agile 조직이 만드는 혁신Amazon Web Services Korea
한화생명의 혁신적인 디지털 조직인 플랫폼 개발팀은 하이브리드 랜딩 존을 활용한 DevSecOps와 AWS EKS를 활용한 MSA 기반의 AWS의 하이브리드 클라우드 플랫폼을 20여 개 이상의 디지털 서비스를 보헙업계에 Agile하게 선보이고 있으며, 특히 국내 최초로 AWS Outposts를 선택하여 금융권의 주목을 끌었습니다. 한화생명은 빠르게 변화하는 시장의 요건을 충족하기 위해 플랫폼 개발팀에서 플랫폼을 내재화하여, 정책 결정이나 기술적 아키텍처 설계 등 핵심 업무를 직접 담당하며 운영하고 있습니다. 이 Agile한 개발 조직 문화가 AWS 하이브리드 클라우드 플랫폼과 함께 어떠한 시너지를 만들고 있는지 플랫폼 개발팀의 사례를 통해 공유드립니다.
DAT302_Deep Dive on Amazon Relational Database Service (RDS)Amazon Web Services
Amazon RDS enables customers to launch an optimally configured, secure and highly available database with just a few clicks. It provides cost-efficient and resizable capacity while managing time-consuming database administration tasks, freeing you up to focus on your applications and business. Amazon RDS provides you six database engines to choose from, including Oracle, Microsoft SQL Server, PostgreSQL, MySQL and MariaDB. In this session, we take a closer look at the capabilities of the RDS service and review the latest features available. We do a deep dive into how RDS works and the best practices to achieve the optimal performance, flexibility, and cost saving for your databases.
지난 AWS re:Invent 2022에서 소개된 내용 가운데 디지털 네이티브 비즈니스 리더분들께서 주목할만한 AWS 기술(혁신, 데이터, 현대화)에 대한 AWS 신규 서비스와 고객 사례를 공유합니다.
발표자:
Channy Yun, Principal Developer Advocate, AWS
Hyo Choi, Solutions Architect, AWS
Yoosung Jeon, Solutions Architect, AWS
Linux Server Hardening - Steps by StepsSunil Paudel
Linux Server Hardening
This document has the step by step of the way of hardening the server. We have used the metasploitable server, the vulnerable ubuntu server designed to be hacked, and have done the hardening. We have stopped all the unnecessary services and ports. We have assumed the server to be the web server only. Hence, only port 80 and 443 will be opened. Then the firewall rules have been set following by the apache web server hardening, encryption of the folder and files, disabling the unwanted users, forcing the password policies.
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
"Impact of front-end architecture on development cost", Viktor TurskyiFwdays
I have heard many times that architecture is not important for the front-end. Also, many times I have seen how developers implement features on the front-end just following the standard rules for a framework and think that this is enough to successfully launch the project, and then the project fails. How to prevent this and what approach to choose? I have launched dozens of complex projects and during the talk we will analyze which approaches have worked for me and which have not.
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
Search and Society: Reimagining Information Access for Radical FuturesBhaskar Mitra
The field of Information retrieval (IR) is currently undergoing a transformative shift, at least partly due to the emerging applications of generative AI to information access. In this talk, we will deliberate on the sociotechnical implications of generative AI for information access. We will argue that there is both a critical necessity and an exciting opportunity for the IR community to re-center our research agendas on societal needs while dismantling the artificial separation between the work on fairness, accountability, transparency, and ethics in IR and the rest of IR research. Instead of adopting a reactionary strategy of trying to mitigate potential social harms from emerging technologies, the community should aim to proactively set the research agenda for the kinds of systems we should build inspired by diverse explicitly stated sociotechnical imaginaries. The sociotechnical imaginaries that underpin the design and development of information access technologies needs to be explicitly articulated, and we need to develop theories of change in context of these diverse perspectives. Our guiding future imaginaries must be informed by other academic fields, such as democratic theory and critical theory, and should be co-developed with social science scholars, legal scholars, civil rights and social justice activists, and artists, among others.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
How to Install Configure and Use sysstat utils on RHEL 7
1. How to Install Configure and Use sysstat Utils
i | P a g e
Contents
Overview.......................................................................................................................................................1
SAR Package Installation...............................................................................................................................1
Verify Installed Status ...............................................................................................................................1
Install Package...........................................................................................................................................2
Enable Sysstat Service...............................................................................................................................2
Start Sysstat Service..................................................................................................................................3
Stop Sysstat Service ..................................................................................................................................3
Restart Sysstat Service..............................................................................................................................4
Check Sysstat Service Status.....................................................................................................................4
Sysstat – Default Configuration ....................................................................................................................5
Sysstat – Cron Job Configuration ..................................................................................................................5
Package Binaries and Purpose ......................................................................................................................6
SAR – Reports Generation ............................................................................................................................7
SAR Command – Syntax............................................................................................................................7
SAR Command – Examples .......................................................................................................................7
CPU Utilization Statistics...........................................................................................................................7
Memory Utilization Statistics....................................................................................................................8
Block Device Statistics...............................................................................................................................8
Hugepage Utilization Statistics .................................................................................................................9
Interrupt Statistics ....................................................................................................................................9
Network Statistics.....................................................................................................................................9
Network Statistics Options..................................................................................................................10
Kernel, INode and File Statistics..............................................................................................................10
Swap Space Utilization Statistics.............................................................................................................11
I/O Statistics............................................................................................................................................11
Paging Statistics ......................................................................................................................................12
Run Queue Length and Load Average Statistics .....................................................................................12
Swap Space Utilization Statistics.............................................................................................................13
SAR Report – Write Output File ..............................................................................................................13
SAR Report – Read Output File ...............................................................................................................13
SAR Report – Read Specific Day Report..................................................................................................14
2. How to Install Configure and Use sysstat Utils
ii | P a g e
SAR Report – Read Specific Day and Time Report..................................................................................14
3. How to Install Configure and Use sysstat Utils
1 | P a g e
Overview
The System Activity Report or SAR report; collects, reports and save(s) CPU, Memory & I/O usages at
regular intervals.
“sar” command supports generating different types of reports on fly and these reports can be exported
as well. In this guide we will explain sar command execution with various attributes.
SAR will collate and give information about below;
1. Block Device Statistics
2. Paging Statistics
3. Swap Statistics
4. CPU Utilization Statistics
5. Memory Utilization Statistics
6. Interrupt Statistics
7. Network Statistics
8. Power Management Statistics
9. Report I/O Statistics
10. Report Hugepages utilization statistics
SAR Package Installation
SAR package installation is simple and easy; to install the package follow the below steps.
Verify Installed Status
Before you install the package, check if the package is already installed, to know the package is already
installed, run the command;
yum list installed sysstat
4. How to Install Configure and Use sysstat Utils
2 | P a g e
Install Package
After checking the package installation and you found that the package is not installed, to install the
package run the command;
yum install sysstat -y -q && yum list installed sysstat -q
Enable Sysstat Service
After installation, ensure that the sysstat is enabled, so that it can startup automatically upon boot-up. To
enable the service run the command;
systemctl enable sysstat
5. How to Install Configure and Use sysstat Utils
3 | P a g e
Start Sysstat Service
Next, you need to start the sysstat service to generate the reports, to start the command;
systemctl start sysstat && systemctl status sysstat -l
Stop Sysstat Service
In case you would like to stop the service run the command;
systemctl stop sysstat && systemctl status sysstat -l
6. How to Install Configure and Use sysstat Utils
4 | P a g e
Restart Sysstat Service
In case you would like to restart the service run the command;
systemctl restart sysstat && systemctl status sysstat -l
Check Sysstat Service Status
To check the sysstat service status, run the command;
systemctl status sysstat -l
7. How to Install Configure and Use sysstat Utils
5 | P a g e
Sysstat – Default Configuration
Sysstat can be configured as per the business need and disk availability on the server, to view the current
configuration run the below command; Each attribute can be reconfigured as per the requirement of the
business.
egrep -v '^#|^$|^;' /etc/sysconfig/sysstat
Attribute Default Purpose
HISTORY 28 Configure statistics data to be retained for day(s)
COMPRESSAFTER 31 Compress statistics data after day(s)
SADC_OPTIONS "-S DISK" Configure system activity diagnostics collector option
ZIP "bzip2" Compression command for compressing
Sysstat – Cron Job Configuration
After configuring the sysstat, next we should configure cron job to collect periodical and store “SAR”
reports. To view current cron job, run the command below;
cat /etc/cron.d/sysstat
# Run system activity accounting tool every 10 minutes
*/10 * * * * root /usr/lib64/sa/sa1 1 1
# 0 * * * * root /usr/lib64/sa/sa1 600 6 &
# Generate a daily summary of process accounting at 23:53
53 23 * * * root /usr/lib64/sa/sa2 -A
Note: If the job is not configured, copy and paste the above snippet into new cron job.
8. How to Install Configure and Use sysstat Utils
6 | P a g e
Package Binaries and Purpose
Package / Binary Purpose / Usage
sysstat To define the maximum no. of days to save SAR reports
/usr/bin/sar Collect, report, or save system activity information
/usr/bin/iostat Report Central Processing Unit (CPU) statistics and input/output statistics
/usr/bin/mpstat Report processors related statistics
/usr/bin/sadf Display data collected by SAR in multiple formats
/usr/lib64/sa summarizes accounting information
/usr/lib64/sa/sa1 Collect and store binary data in the system activity daily data file
/usr/lib64/sa/sa2 Write a daily report in the “/var/log/sa” directory
/usr/lib64/sa/sadc System activity data collector
/usr/bin/cifsiostat Report CIFS statistics
/usr/bin/nfsiostat Report input/output statistics for network filesystems (NFS).
/usr/bin/pidstat Report statistics for Linux tasks.
/usr/lib/systemd/system/
sysstat.service
Sysstat Systemd Management control file
9. How to Install Configure and Use sysstat Utils
7 | P a g e
SAR – Reports Generation
One of the main purpose “SAR” package is to generate System activity reports on fly and export those
reports in different format.
SAR Command – Syntax
sar -[Options] [Interval] [Iteration Count]
sar -[Options] -s [hh:mm:ss] -e [hh:mm:ss] [Interval] [Iteration Count]
sar -o [output filename] [interval] [Iteration Count] >/dev/null 2>&1 &
SAR Command – Examples
SAR Command Purpose
sar -r 10 5 Memory utilization statistics every ten seconds
for 5 times.
sar -r -s 10:00:15 -e 10:15:00 Memory utilization statistics report between
specific timeframe.
sar -o /tmp/mem_stats -r -u 2 5 >/dev/null 2>&1 & Memory utilization statistics into output file.
CPU Utilization Statistics
To generate CPU Utilization statistics, run the command;
sar -u
sar -u [ALL] 2 2
Note: The above command will run 2 times for CPU utilization statistics every 2 seconds. “ALL” represents
all CPU related fields should be shown.
10. How to Install Configure and Use sysstat Utils
8 | P a g e
Memory Utilization Statistics
To generate CPU Utilization statistics, run the command;
sar -r
sar -r 2 2
Note: The above command will run 2 times for Memory utilization report every 2 seconds.
Block Device Statistics
To generate block devices statistics, run the command;
sar -d
sar -d 2 2
Note: The above command will run 2 times for each Block Device(s) report every 2 seconds.
11. How to Install Configure and Use sysstat Utils
9 | P a g e
Hugepage Utilization Statistics
To generate hugepage utilization statistics, run the command;
sar -H
sar -H 2 2
Note: The above command will run 2 times for huge pages info every 2 seconds.
Interrupt Statistics
To generate interrupt statistics, run the command;
sar -I 15 2 2
sar -I SUM 2 2
Note: The above command will run 2 times for all interrupts report every 2 seconds
Network Statistics
To generate network statistics, run the command;
sar -n [options] 2 2
sar -n DEV 2 2
12. How to Install Configure and Use sysstat Utils
10 | P a g e
Network Statistics Options
Option Purpose
DEV Network interfaces
EDEV Network interfaces (errors)
NFS NFS client
NFSD NFS server
SOCK Sockets (v4)
IP IP traffic (v4)
EIP IP traffic (v4) (errors)
ICMP ICMP traffic (v4)
EICMP ICMP traffic (v4) (errors)
TCP TCP traffic (v4)
ETCP TCP traffic (v4) (errors)
UDP UDP traffic (v4)
SOCK6 Sockets (v6)
IP6 IP traffic (v6)
EIP6 IP traffic (v6) (errors)
ICMP6 ICMP traffic (v6)
EICMP6 ICMP traffic (v6) (errors)
UDP6 UDP traffic (v6)
Kernel, INode and File Statistics
To generate INode, file and other kernel table statistics, run the command;
sar -v 2 5
13. How to Install Configure and Use sysstat Utils
11 | P a g e
Swap Space Utilization Statistics
To generate swap space utilization statistics, run the command;
sar -S
sar -S 2 2
Note: The above command will run 2 times for swap usage info report every 2 seconds.
I/O Statistics
To generate input/output (I/O) statistics, run the command;
sar -b
sar -b 2 2
Note: The above command will run 2 times for I/O transfer rates info every 2 seconds.
14. How to Install Configure and Use sysstat Utils
12 | P a g e
Paging Statistics
To generate paging statistics, run the command;
sar -B
sar -B 2 2
Note: The above command will run 2 times for paging usage info report every 2 seconds.
Run Queue Length and Load Average Statistics
To generate queue length and load averages statistics, run the command;
sar -q
sar -q 2 2
Note: The above command will run 2 times for load & queue usage info report every 2 seconds.
Field Purpose
runq-sz Run queue length (number of processes waiting for run time)
plist-sz Number of processes and threads in the process list
ldavg-1 System load average for the last minute
ldavg-5 System load average for the past 5 minutes
ldavg-15 System load average for the past 15 minutes
15. How to Install Configure and Use sysstat Utils
13 | P a g e
Swap Space Utilization Statistics
To generate swap space utilization statistics, run the command;
sar -S
sar -S 2 2
SAR Report – Write Output File
To store “sar” report to a data file, data file is stored in binary format and can be read by sar command,
to store the report/data into a file run the command;
sar -o /tmp/cpu_utilization_output_file -u 2 5 >/dev/null 2>&1 &
SAR Report – Read Output File
To read “sar” data file, run the command;
sar -f /tmp/cpu_utilization_output_file
16. How to Install Configure and Use sysstat Utils
14 | P a g e
SAR Report – Read Specific Day Report
All the data files are stored in the directory “/var/log/sa/” by default it’s configured for 28 days. In order
to read a specific day’s report, run the command;
sar -f /var/log/sa/saXX
sar -f /var/log/sa/sa10
Note: Day of the month is represented by saXX, where xx means day of month.
SAR Report – Read Specific Day and Time Report
All the data files are stored in the directory “/var/log/sa/” by default it’s configured for 28 days. In order
to read a specific day and time report, run the command;
sar -f /var/log/sa/saXX -e -s 21:00:00 -e 22:00:00
sar -f /var/log/sa/sa10 -e -s 21:00:00 -e 22:00:00
Note: Day of the month is represented by saXX, where XX means day of month.