首页 > 系统相关 >Linux查看资源限制

Linux查看资源限制

时间:2022-11-10 10:47:37浏览次数:42  
标签:memory 限制 查看 Linux kbytes priority time blocks size

//显示所有资源限制

ulimit -a

 

real-time non-blocking time (microseconds, -R) unlimited
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 5326
max locked memory (kbytes, -l) 118122
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 5326
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited

标签:memory,限制,查看,Linux,kbytes,priority,time,blocks,size
From: https://www.cnblogs.com/linux-learn/p/16876286.html

相关文章

  • Java输出SSL握手日志和查看cacerts路径
    在JAVA启动时添加下面的VM参数就可以启动握手日志了!!!-Djavax.net.debug=all另外,在debug日志中,有一个trustStoreis关键字,根据这个可以找到使用的是哪个truststor......
  • Linux学习笔记(9)——学习Shell脚本
    学习shell脚本学习shell脚本一、什么是shell脚本1.1为什么要学习shell脚本1.2第一个脚本的编写与执行1.3建立shell脚本的良好编写习惯二、简单的shell脚本......
  • 皕杰报表的Linux部署
    对于一个新的linux系统,在上面部署皕杰报表需要下面的步骤: 1.首先得配置java环境变量,因为皕杰报表是纯java的,所以环境变量必不可少。2.然后把linux版的tomcat放到Linux系统......
  • 在PetaLinux工程中调试关键模块代码
    在PetaLinux工程中,与单板相关的UBoot、Linux等模块,经常需要编辑、调试。在旧版本中,可以为UBoot、Linux选择“ext-local-src”,指定UBoot、Linux的代码,从而使PetaLinux使......
  • 20201317-Linux-Thread 互斥测试
    #include<stdio.h>#include<stdlib.h>#include<pthread.h>//linux线程库#include<ctype.h>//测试和映射字符的库structarg_set{ char*fname; int......
  • Windows路径或者Linux路径映射成web路径进行访问代码
    packagecom.soft.mpms.zframe.config;importjava.io.File;importorg.springframework.context.annotation.Configuration;importorg.springframework.web.servlet.c......
  • springboot文件上传大小限制设置
    一般的web系统基本都会有文件上传功能,文件上传必然涉及到一个问题,就是文件大小,太大的文件不仅传输速度慢,而且对服务器压力巨大,后期的下载和保存都是一种考验。所以有了文......
  • How to Find Out What Linux Distribution You Are Using
    HowtoknownwhatLinuxDistributionIamusingnow.Allright,runthiscommandandyoucouldgetwhatyouneedinfromtheoutputresult19:12:17-androidyue~......
  • List Ports on Linux
    Ihaveoftensufferedthispainfulthing.WhenIstartaservicebutthedestinationportisalwaysused.SoIshouldlistallopenportsandkilltheoccupiedap......
  • Linux 下使用cut命令,实现更好切分数据
    cut是什么一个Unix终端命令切割行内容,并进行标准输出可以按照字节,字符,分隔符进行切分能有什么用我们举一个简单的例子(非全部示例)来描述cut有什么用,可以做什么简洁输出,去除干......