tar -xzvf check_mysql_health-2.2.2.tar.gz
cd check_mysql_health-2.2.2
# configure
./configure --prefix=/usr/local/nagios/libexec --with-nagios-user=nagios --with-nagios-group=nagios --with-perl=/usr/bin/perl
# make
sudo make
# install
sudo make install
復制代碼
1,封裝:將對象的屬性集成在 class person:def __init__(self,name,idnum):self.namenameself.idnumidnum 2,繼承:子類自動擁有父類的的封裝,除了非私有之外 class person: def __init__(self,name,idnum): self.namena…
1. 比較的是值 a2 b2 print(a b) # True lis1 [1,2,3] lis2 [1,2,3] print(lis1 lis2) # True 2.is 是比較的是內存地址 a name print(id(a)) # 內存地址 字符串 a name b name print(a is b) # True 數字 n 10 n110 print(n is n1) # True 小數據池 數字 -5~256 字…
--創建測試表 SQL> create table t as select object_id,object_name from dba_objects;表已創建。SQL> select min(object_id),max(object_id) from t;MIN(OBJECT_ID) MAX(OBJECT_ID)-------------- --------------2 76083SQL> create table t_part(object…