• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • The ImunifyAV extension is now deprecated and no longer available for installation.
    Existing ImunifyAV installations will continue operating for three months, and after that will automatically be replaced with the new Imunify extension. We recommend that you manually replace any existing ImunifyAV installations with Imunify at your earliest convenience.

Contribution Sysdig Tutorial: Using sysdig to find performance and other problems!

atomicturtle

Golden Pleskian
Description
Sysdig instruments your physical and virtual machines at the OS level by installing a module into the Linux kernel and
capturing system calls and other OS events.Using sysdig's command line interface, you can filter and decode these events in order to extract useful information.

Sysdig can be used to inspect systems live in real-time, or to generate trace files that can be analyzed at a later stage.

Installation
1) Install the atomic repo
wget -q -O - http://www.atomicorp.com/installers/atomic |sh

2) Install sysdig:
yum install sysdig

3) (optional) If you're using an ASL kernel, or otherwise locking the system from loading kernel modules:
reboot


Usage: These are just a few simple examples

Showing what files are using the most I/O for httpd:
sysdig -c topfiles_time proc.name=httpd

Show process execution time system wide:
sysdig -c proc_exec_time

Show top server ports:
sysdig -c topports_server

Show every file opened under a web domain:
sysdig evt.type=open and fd.name contains /var/www/vhosts/domainname/httpdocs/

Show files exchanged between apache and IP 10.11.12.13:
sysdig -A -c echo_fds proc.name=httpd and fd.sip=10.11.12.13

Show what the user id testuser is doing:
sysdig -c spy_users username=testuser
 
Back
Top