aix

shell script to create folder daily with time-stamp and push time-stamp generated logs

北慕城南 提交于 2020-12-28 21:06:34
问题 I have a cron job which runs every 30 minutes to generate log files with time-stamp like this: test20130215100531.log, test20130215102031.log I would like to create one folder daily with date time-stamp and push log files in to respective date folder when generated. I need to achieve this on AIX server with bash. 回答1: Maybe you are looking for a script like this: #!/bin/bash shopt -s nullglob # This line is so that it does not complain when no logfiles are found for filename in test*.log; do

Could not find TLS ALPN provider; no working netty-tcnative, Conscrypt, or Jetty NPN/ALPN available

我们两清 提交于 2020-12-08 07:23:51
问题 What version of gRPC are you using? 1.13.1 I am using java 8 to build an executable jar. Below is the java version: $ /usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/bin/java -version openjdk version "1.8.0_171" OpenJDK Runtime Environment (build 1.8.0_171-8u171-b11-2~14.04-b11) OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode) I am using gradle 3.4.1 to generate the jar as follows: /opt/gradle-3.4.1/bin/gradle jar -Dorg.gradle.java.home=/usr/lib/jvm/java-1.8.0-openjdk-amd64/ Below are the

Unix cp argument list too long

倾然丶 夕夏残阳落幕 提交于 2020-05-12 11:43:09
问题 I am using AIX. When I try to copy all the file in a folder to another folder with the following command: cp ./00012524/*.PDF ./dummy01 The shell complains: ksh: /usr/bin/cp: 0403-027 The parameter list is too long. How to deal with it? My folder contain 8xxxx files, how can I copy them very fast? each file have size of 4x kb to 1xx kb. 回答1: Use find command in *nix: find ./00012524 -type f -name "*.PDF" -exec cp {} ./dummy01/ \; -print 回答2: The cp command has a limitation of files which you

SSL certificate problem using git in AIX

杀马特。学长 韩版系。学妹 提交于 2020-05-05 21:38:33
After installed git in AIX, when run git clone found that SSL certificate problem: unable to get local issuer certificate Solution as below collected from google No ssl verify export GIT_SSL_NO_VERIFY=true ( unset GIT_SSL_NO_VERIFY ) git config http.sslVerify false ( git config --unset http.sslVerify ) curl http://curl.haxx.se/ca/cacert.pem -o /var/ssl/cacert.pem (not work, but no /etc/ssl or /etc/openssl folder in AIX) SSL verify .git/config <pre> [http] sslCAInfo=/var/ssl/certs/cacert.pem </pre> git config --system (or --global or --local) http.sslcainfo /var/ssl/certs/cacert.pem http:/

oracle9i下载_oracle9i官方下载_Oracle9i Release2(9.2.0.2)下载_oracle9i下载_ORACLE9i补丁_Oracle下载

核能气质少年 提交于 2020-03-31 08:28:51
oracle9i下载地址_oracle9i官方下载_Oracle9i Release2(9.2.0.2)下载_oracle9i下载_oracle9下载_oracle下载 Oracle9i Database Release 2 Enterprise/Standard/Personal Edition for Windows NT/2000/XP http://download.oracle.com/otn/nt/oracle9i/9201/92010NT_Disk1.zip http://download.oracle.com/otn/nt/oracle9i/9201/92010NT_Disk2.zip http://download.oracle.com/otn/nt/oracle9i/9201/92010NT_Disk3.zip Oracle9i Database Release 2 Enterprise/Standard/Personal/Client Edition for Windows XP 2003/Windows Server 2003 (64-bit) http://download.oracle.com/otn/nt/oracle9i/9202/92021Win64_Disk1.zip http://download.oracle.com/otn/nt

aix 查看内存,CPU 配置信息

☆樱花仙子☆ 提交于 2020-02-29 21:01:21
内存lsattr -El mem0 cpu lsdev -C |grep proc CPU的信息lsattr -El proc0 #bootinfo -r 查看物理内存 使用命令# lsdev -Cc memory 查看配置的物理内存设备,下面为其输出示例: mem0 Available 00-00 Memory L2cache0 Available 00-00 L2 Cache 再使用命令# lsattr -El mem0 输出如下 size 512 Total amount of physical memory in Mbytes False goodsize 512 Amount of usable physical memory in Mbytes False 此例说明机器的物理内存为512MB。如果前面lsdev的输出中有设备名 mem1,则使用同样的命令查看其对应的大小并依此类推。 再补充一个方法 svmon -G root@m2a/etc>svmon -G size inuse free pin virtual memory 4194304 1088794 3105510 274650 690272 pg space 2097152 3775 work pers clnt lpage pin 274650 0 0 0 in use 690290 257951

aix 查看内存,CPU 配置信息

邮差的信 提交于 2020-02-29 20:50:51
内存: lsattr -El mem0 cpu : lsdev -C |grep proc CPU的信息 lsattr -El proc0 bootinfo -r 查看物理内存使用命令# lsdev -Cc memory 查看配置的物理内存设备,下面为其输出示例: mem0 Available 00-00 Memory L2cache0 Available 00-00 L2 Cache 再使用命令# lsattr -El mem0 输出如下 size 512 Total amount of physical memory in Mbytes False goodsize 512 Amount of usable physical memory in Mbytes False 此例说明机器的物理内存为512MB。如果前面lsdev的输出中有设备名 mem1,则使用同样的命令查看其对应的大小并依此类推。 再补充一个方法 svmon -G root@m2a/etc>svmon -G size inuse free pin virtual memory 4194304 1088794 3105510 274650 690272 pg space 2097152 3775 work pers clnt lpage pin 274650 0 0 0 in use 690290 257951

Install gevent in AIX with gcc

对着背影说爱祢 提交于 2020-02-29 20:48:24
greenlet Download greenlet-0.4.1.zip from https://github.com/python-greenlet/greenlet sudo gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -fno-tree-dominator-opts -I. -I/opt/freeware/include/python2.7 -c greenlet.c -o build/greenlet.o sudo gcc -shared -lpthreads -lpython2.7 -o build/greenlet.so build/greenlet.o sudo cp build/greenlet.so /opt/freeware/lib/python2.7/site-packages/ libev Download libev-4.15.tar.gz from http://dist.schmorp.de/libev/ ./configure --prefix=/usr/local/libev gmake && sudo gmake install c-ares Download c-ares from http://c-ares