aix

Static and dynamic library linking

纵然是瞬间 提交于 2019-12-11 01:46:17
问题 In C++, static library A is linked into dynamic libraries B and C. If a class, Foo, is used in A which is defined in B, will C link if it doesn't use Foo? I thought the answer was yes, but I am now running into a problem with xlc_r7 where library C says Foo is an undefined symbol, which it is as far as C is concerned. My problem with that is Library C isn't using the class referencing it. This links in Win32 (VC6) and OpenVMS. Is this a linker discrepancy or a PBCAK? New info: B depends on C,

Equivalent of fesetflushtozero() on various Unices

最后都变了- 提交于 2019-12-11 01:31:18
问题 This question was migrated from Unix & Linux Stack Exchange because it can be answered on Stack Overflow. Migrated 6 years ago . HP-UX's libc has the function fesetflushtozero to switch floating-point behavior between “gradual underflow” and “flush to zero”. Despite combing through documentation and man pages of several Unix libc's (including glibc), I have yet to find how to achieve the same thing in other Unices. I'm particularly interest in Linux/glibc, Solaris and AIX. 回答1: As you have

AIX equivalent for 'date --date'

不问归期 提交于 2019-12-10 22:49:31
问题 I frequently use the date command with the --date option on linux servers like date --date="3min" However the -d/--date option don't seems available on AIX server : https://www.ibm.com/support/knowledgecenter/ssw_aix_61/com.ibm.aix.cmds2/date.htm Is it possible, and how can we get the same result as the following command: date --utc --date "now $TIMEDELTA" +"%Y%m%d-%H")` in an AIX environment ? I don't have, and can't have, any root access to the server. 回答1: A few options come to mind:

cxf, jaxb on AIX/IBM Java - CollisionCheckStack issue

泪湿孤枕 提交于 2019-12-10 21:06:20
问题 I had the following issue recently in my code. The environment is: Java(TM) SE Runtime Environment (build pap6470sr1-20120330_01(SR1)) IBM J9 VM (build 2.6, JRE 1.7.0 AIX ppc64-64 20120322_106209 (JIT enabled, AOT enabled)) J9VM - R26_Java726_SR1_20120322_1720_B106209 Throwable occurred: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -14 at com.sun.xml.bind.v2.util.CollisionCheckStack.findDuplicate(CollisionCheckStack.java:133) at com.sun.xml.bind.v2.util

小型机AIX系统巡检

吃可爱长大的小学妹 提交于 2019-12-10 19:46:16
小型机AIX系统日常巡检目录 一、硬件及外观指示灯巡检 二、系统情况查看 1.设备名、设备型号、产品序列号: 2.处理器 3.内存 4.磁盘 5.适配器 6.分页空间 7.系统镜像(逻辑卷组状态) 8.文件系统 9.错误日志 10.网卡配置情况 11.系统备份 三、网络连通性检查 1.检查各个网卡配置情况及状态 2.检查系统网关是否正确,路由表是否正确 3.检查群集进程是否开启 四、存储巡检 1. 检查外接存储状态 2. 数据库运行状态监听是否正常 3.查看HA双机热备环境 4.查看数据库报错信息 五、检查数据库状态(Oracle) 1.查看数据文件状态 2.查看表空间状态 3.查看表空间空间及使用率 4.检查在线日志状态 5.检查回滚状态 6.检查控制文件状态,输出参数至少3个及以上 7. 查看相关参数文件状态 8.topas 数据库性能查看 9.oracle rac集群查看实力运行状态:crs_stat -t 10.查看oracle数据库服务: 11.查看表空间使用大小: 12.以GB显示查看数据库表空间分配及使用情况及剩余空间情况 一、硬件及外观指示灯巡检 硬件外观指示灯查看,检查系统硬件设备故障灯是否有亮。管理设备为HWC 1.电源 (1)检查主电源灯状态:指示灯常绿表示系统正在运行。 (2)检查直流电源指示灯状态:指示灯常绿表示电源供电正常 2.风扇 检查直流电源风扇状态

AIX process memory is increasing with malloc free calls in loop

烂漫一生 提交于 2019-12-10 17:46:35
问题 I am running this code on AIX 6.1 while(true) { int a = rand(); //generate a random integer value void* test = malloc(a*a); //allocate large chunk of memory block usleep(3000000); //sleep for 3 sec free(test); // release memory block } using MALLOCTYPE=buckets My observation is Resident set size(real memory) and data section size for process is continuously increasing. This is check by command ps v PID pg sp value shown in topas for process is slowly increasing. Can someone justify this

compiling numpy for python3 for AIX works but import fails

℡╲_俬逩灬. 提交于 2019-12-10 16:55:35
问题 Has someone had success building the numpy package for AIX6.1 or 7.1? I downloaded numpy-1.9.2.tar.gz and ran "python3 setup.py install". After patching a few source files it compiles. However, when I try to import numpy it says: ImportError: 0509-022 Cannot load module /python3.4/site-packages/numpy/core/multiarray.so. 0509-187 The local-exec model was used for thread-local storage, but the module is not the main program. 0509-193 Examine the .loader section header with the 'dump -Hv'

AIX 系统收集信息

人盡茶涼 提交于 2019-12-10 13:03:39
1.uname -uM //查看机器序列号 [P55A#/]uname -uM IBM,9133-55A IBM,03064E69H 2.oslevel -s //查看操作系统版本 [P55A#/]oslevel -s 6100-07-04-1216 3.查看CPU信息: lsdev -C|grep proc //查看cpu信息,可以查看CPU个数 [P55A#/]lsdev -C|grep proc proc0 Available 00-00 Processor 4.bootinfo -r //查看内存信息 [P55A#/]bootinfo -r 12124160 //以KB为单位 prtconf -m //查看内存信息,系统总配置内存 [P55A#/]prtconf -m Memory Size: 11840 MB lsdev -Cc memory //查看物理内存配置情况 [P55A#/]lsdev -Cc memory L2cache0 Available L2 Cache mem0 Available Memory lsattr -El mem0 //查看内存信息,可以查看到总安装内存以及可使用内存 [P55A#/]lsattr -El mem0 ent_mem_cap I/O memory entitlement in Kbytes False goodsize

SWIG crashes on AIX (with python, and probably everything else SWIG support)

痞子三分冷 提交于 2019-12-09 21:57:06
问题 SWIG compiles and install easily on AIX. Unfortunately, a simple SWIG hello world (which also compiles - but not so easily) crashes with Segmentation Fault or Illegal Instruction (depending on some details of the compilation/linker process). This happens with both gcc and xlc (IBM c compiler). I tried only the native AIX linker ld, because the homonyms GNU ld was not installed on my system. File: example.c #include <time.h> double My_variable = 3.0; int fact(int n) { if (n <= 1) return 1;

IBM JVM 1.6 SR14: java.lang.UnsatisfiedLinkError: fontmanager (Not found in com.ibm.oti.vm.bootstrap.library.path)

不羁岁月 提交于 2019-12-08 13:35:02
问题 We upgraded IBM Java on our AIX machine from Java 1.6 SR 9 to Java 1.6 SR14 and now we have following error during start of our applications: Exception in thread "main" java.lang.UnsatisfiedLinkError: fontmanager (Not found in com.ibm.oti.vm.bootstrap.library.path) at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1030) at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:994) at java.lang.System.loadLibrary(System.java:507) at sun.font.FontManager$1.run