top - 21:38:40 up 1 day, 10:38, 5 users, load average: 0.00, 0.01, 0.17
Tasks: 88 total, 1 running, 87 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.3 us, 0.3 sy, 0.0 ni, 99.0 id, 0.3 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 1016244 total, 138636 free, 259328 used, 618280 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 582520 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
28588 mysql 20 0 984928 118872 7732 S 0.3 11.7 0:40.30 mysqld
693 root 20 0 562412 16484 5772 S 0.0 1.6 0:13.37 tuned
326 root 20 0 53276 15492 15172 S 0.0 1.5 0:06.66 systemd-journal
12685 daemon 20 0 258796 12596 4020 S 0.0 1.2 0:00.53 httpd
891 daemon 20 0 258808 12576 4004 S 0.0 1.2 0:00.52 httpd
6257 daemon 20 0 258788 12536 3980 S 0.0 1.2 0:00.45 httpd
24605 daemon 20 0 258800 12532 3984 S 0.0 1.2 0:00.49 httpd
6246 daemon 20 0 258788 12468 3920 S 0.0 1.2 0:00.22 httpd
6258 daemon 20 0 258788 12464 3924 S 0.0 1.2 0:00.13 httpd
457 polkitd 20 0 536348 12284 4792 S 0.0 1.2 0:03.77 polkitd
887 daemon 20 0 258284 12052 3992 S 0.0 1.2 0:00.44 httpd
456 root 20 0 279788 11956 7000 S 0.0 1.2 0:07.80 rsyslogd
24610 daemon 20 0 258276 11876 3960 S 0.0 1.2 0:00.54 httpd
888 daemon 20 0 257060 11284 4284 S 0.0 1.1 0:00.46 httpd
1215 root 20 0 608364 10368 2072 S 0.0 1.0 5:22.19 barad_agent
1214 root 20 0 164516 9316 1972 S 0.0 0.9 1:15.93 barad_agent
6255 daemon 20 0 255880 9216 3652 S 0.0 0.9 0:00.15 httpd
849 root 20 0 253256 7940 3180 S 0.0 0.8 0:03.72 httpd
1208 root 20 0 155220 7552 1048 S 0.0 0.7 0:01.86 barad_agent
13890 root 20 0 341472 6568 4588 S 0.0 0.6 0:00.01 abrt-dbus
3962 root 20 0 146068 5680 3968 S 0.0 0.6 0:01.48 sshd
13519 root 20 0 126584 5492 2488 S 0.0 0.5 0:00.06 python3
7801 root 20 0 151300 5224 2788 S 0.0 0.5 0:00.21 vim
4014 root 20 0 145724 5220 3952 S 0.0 0.5 0:00.04 sshd
4132 root 20 0 145724 5220 3960 S 0.0 0.5 0:00.03 sshd
691 root 20 0 105996 4108 3128 S 0.0 0.4 0:00.58 sshd
1 root 20 0 51468 3708 2520 S 0.0 0.4 0:26.78 systemd
5398 root 20 0 116552 3324 1792 S 0.0 0.3 0:00.27 bash
5481 root 20 0 116452 3292 1776 S 0.0 0.3 0:00.19 bash
3965 root 20 0 116452 3284 1776 S 0.0 0.3 0:00.08 bash
4018 root 20 0 116452 3264 1768 S 0.0 0.3 0:00.04 bash
[root@VM_61_158_centos ~]#

mysqld 与 python 邮件监控脚本 内存消耗对比的更多相关文章

  1. centos 7 keepalived故障邮件通知实战(附Python邮件发送脚本)

    centos 7 keepalived故障邮件通知实战(附Python邮件发送脚本) #####################     sendmail.py  begin     ######## ...

  2. 【百度地图API】多家地图API内存消耗对比测验(带源码)

    原文:[百度地图API]多家地图API内存消耗对比测验(带源码) 任务描述: 啊,美妙的春节结束了.酸奶小妹和妈妈的山西平遥之旅也宣告成功!距离平遥古城7km,有一个同样身为“世界文化遗产”的寺庙,叫 ...

  3. python邮件发送脚本

    转自:http://phinecos.cnblogs.com/ #!/usr/bin/python #coding=utf-8 #@author:dengyike #@date:2010-09-28 ...

  4. 一文了解 Redis 内存监控和内存消耗

    Redis 是一种内存数据库,将数据保存在内存中,读写效率要比传统的将数据保存在磁盘上的数据库要快很多.所以,监控 Redis 的内存消耗并了解 Redis 内存模型对高效并长期稳定使用 Redis ...

  5. Python邮件发送脚本(Linux,Windows)通用

    脚本 #!/usr/bin/python #-*- coding:utf-8 -*- #Python Mail for chenglee #if fileformat=dos, update file ...

  6. python 邮件发送 脚本

    import smtplib from email.header import Header from email.mime.text import MIMEText from_addr = 'XXX ...

  7. 「Python实用秘技06」逐行监听Python程序的内存消耗

    本文完整示例代码及文件已上传至我的Github仓库https://github.com/CNFeffery/PythonPracticalSkills 这是我的系列文章「Python实用秘技」的第6期 ...

  8. Python 监控脚本(硬盘、cpu、内存、网卡、进程)

    #磁盘使用率disk = psutil.disk_partitions()for i in disk:    print "磁盘:%s   分区格式:%s"%(i.device,i ...

  9. linux系统CPU,内存,磁盘,网络流量监控脚本

    前序 1,#cat /proc/stat/ 信息包含了所有CPU活动的信息,该文件中的所有值都是从系统启动开始累积到当前时刻 2,#vmstat –s 或者#vmstat 虚拟内存统计 3, #cat ...

随机推荐

  1. Android Bitmap详细介绍(3)

    package com.testbitmapscale; import java.io.File; import java.io.FileInputStream; import java.io.Fil ...

  2. 学习 Qt 编程的好书精品推荐!

    最近一段时间,准备开始搞Qt方面的东西,想找几本书看看.网上介绍QT的书籍也有很多,不想浪费时间,所以想找几本精品的书籍来看.花了半天的时间找了几本非常不错的,这里面整理好之后推荐给大家! 下面介绍的 ...

  3. 06网络通信udp-tcp、正则

    一. udp网络程序 1.    udp网络程序-发送数据 1)创建客户端套接字 2)发送/接收数据 3)关闭套接字 from socket import * # 1. 创建udp套接字 udp_so ...

  4. 笔试算法题(05):转换BST为双向链表 & 查找栈中的最小元素

    出题:把二元查找树转变成排序的双向链表.输入一棵二元查找树,要求将该二元查找树按照中序转换成一个排序的双向链表,要求不能创建任何新的节点,只能调整指针的指向: 分析: 递归的思路,当前节点需要进行的处 ...

  5. Mysql对象

    2.简介 2.1 存储过程 2.1.1什么是存储过程 存储过程就是一种类似函数的脚本,可以把多个sql语句组合起来,然后使用 call 存储过程名 来调用,从而执行这些SQL语句. 特点:一次编译,下 ...

  6. [Python3网络爬虫开发实战] 7.3-Splash负载均衡配置

    用Splash做页面抓取时,如果爬取的量非常大,任务非常多,用一个Splash服务来处理的话,未免压力太大了,此时可以考虑搭建一个负载均衡器来把压力分散到各个服务器上.这相当于多台机器多个服务共同参与 ...

  7. centos6 文件管理

    一.文件属性 权限位: - 表示文件 d 表示目录 l 表示软连接 b 表示接口存储设备文件 c 表示串行端口设备 文件的时间属性 [root@web02 ~]# ll /etc/passwd ### ...

  8. spring+orm框架的兼容问题

    Springframework和Hibernate版本对应关系 org.springframework 3.0.x对应org.hibernate4.0.x版本 org.springframework ...

  9. CodeForces 221D Little Elephant and Array

    Little Elephant and Array Time Limit: 4000ms Memory Limit: 262144KB This problem will be judged on C ...

  10. [luoguP3402] 最长公共子序列(DP + 离散化 + 树状数组)

    传送门 比 P1439 排列LCS问题,难那么一点点,只不过有的元素不是两个串都有,还有数据范围变大,树状数组得打离散化. 不过如果用栈+二分的话还是一样的. ——代码 #include <cs ...