社区
Linux/Unix社区
帖子详情
AIX5.2下调用 gunzip
SStallMan
2009-06-25 10:21:11
在aix下写的一个简单程序,需要用system 调用 gunzip命令来解压缩一个压缩文件,我如果把system调用放在main函数里面调用执行就没事,但是我现在是把加压缩的动作放在另外一个函数里面的,main函数的里面的函数会调用这个函数,如果压缩包小没事,如果压缩包大的话,解压过程中就会提示“警告调用”,然后程序就退出了,不知道这是怎么回事,大家有没有遇见过这种情况,感觉是内存什么出了问题了。
...全文
147
4
打赏
收藏
AIX5.2下调用 gunzip
在aix下写的一个简单程序,需要用system 调用 gunzip命令来解压缩一个压缩文件,我如果把system调用放在main函数里面调用执行就没事,但是我现在是把加压缩的动作放在另外一个函数里面的,main函数的里面的函数会调用这个函数,如果压缩包小没事,如果压缩包大的话,解压过程中就会提示“警告调用”,然后程序就退出了,不知道这是怎么回事,大家有没有遇见过这种情况,感觉是内存什么出了问题了。
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
jiangfeng999
2009-06-26
打赏
举报
回复
楼主把system函数设置的errno发出来看看
或者不用system用execl函数
puheavy123
2009-06-26
打赏
举报
回复
lz看看ulimit的配置文件是否做了限制
/etc/profile
puheavy123
2009-06-26
打赏
举报
回复
看看是不是ulimit的限制。。。
猫已经找不回了
2009-06-25
打赏
举报
回复
[Quote=引用楼主 SStallMan 的帖子:]
在aix下写的一个简单程序,需要用system 调用 gunzip命令来解压缩一个压缩文件,我如果把system调用放在main函数里面调用执行就没事,但是我现在是把加压缩的动作放在另外一个函数里面的,main函数的里面的函数会调用这个函数,如果压缩包小没事,如果压缩包大的话,解压过程中就会提示“警告调用”,然后程序就退出了,不知道这是怎么回事,大家有没有遇见过这种情况,感觉是内存什么出了问题了。
[/Quote]
难道是system创建子进程的内存不够?
nmon
aix
性能分析工具.rar
Hello nmon user, This file introduces nmon for
AIX
5L version 11e. This is a full version but seems to me to be stable enough for real work. But please test it a little before removing your older nmon version. If you are using the nmon2rrd or nmon Analyser, please also check these tool accept the new data files generated by nmon 11. Please feedback any problems to the developer Nigel Griffiths at nag@uk.ibm.com A zipped sample output file (not too big please) is also helpful. nmon has moved to the new IBM
AIX
Wiki Website which will mean that new versions can be release much more effectively and information updated on demand. See below for the URL. What is new in this latest nmon for
AIX
5 version 11c ? Summary: 1) New Simpler Online Look 2) Volume Group Disk Stats 3) Paging Space Stats 4) Command Summary of TOP process data 5) Error messages go out to stderr 6) Network stats - fixed overflow problems. 7) Network errors and auto off 8) Protect against WLM library
AIX
memory leaks - if WLM off 9)
AIX
5.2
Low ML - problem work around attempt 10) CPU Stats on POWER5 with
AIX
5.3 and Shared Processor LPARs = SPLPAR. 11) Making nmon numbers match
AIX
commands 12) JFS numclient and maxclient numers 13) Wide windows in X Windows makes the columns wider in the Top view 14) WLM works again 15) nmon spots the VIO Server and reports the VIO Server version The full details of these 10 enhancements can be found at the new nmon Wiki Website http://www-941.haw.ibm.com/collaboration/wiki/display/WikiPtype/README+nmon+for+
AIX
+version+11e Please read the details before asking questions, particularly with number 10. Installing You will need to
unzip
the file: g
unzip
nmon4
aix
11e.tar.gz and then tar the files out: tar xvf nmon4linuxv11e.tar Please Note the New Places to Get nmon and nmon Information ----------------------------------------------------------- You can find all the latest nmon information and downloads at the new
AIX
Wiki - this includes the nmon for Linux too: Goto http://www.ibm.com/servers/eserver/pseries/community/ then select
AIX
Wiki then select Other Performance Tools then select nmon or go there directly via this URL http://www.ibm.com/collaboration/wiki/display/WikiPtype/nmon In addition nmon questions should now be raised at the Performance Tools Forum Goto http://www.ibm.com/servers/eserver/pseries/community/ and take the Performance Tools Forum Link There are loads of questions and answers there already. You may find your questions has already been answered.
g
unzip
.exe
Linux下的g
unzip
在windows下的可执行程序,windows下的执行代码几乎与linux相同。 Linux g
unzip
命令用于解压文件。g
unzip
是个使用广泛的解压缩程序,它用于解开被gzip压缩过的文件,这些压缩文件预设最后的扩展名为".gz"。
解压程序g
unzip
.exe
放在system32文件夹下面
AIX
5.3安装openSSL、openSSH
AIX
5.3安装openSSL、openSSH
window版的g
unzip
+gzip工具,实现文件压缩和解压缩工具
这两个工具一般用于mysql数据备份和还原的时候使用较多。
Linux/Unix社区
23,217
社区成员
74,540
社区内容
发帖
与我相关
我的任务
Linux/Unix社区
Linux/Unix社区 应用程序开发区
复制链接
扫一扫
分享
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章