zoukankan      html  css  js  c++  java
  • RHEL6 某业务用户ulimit -a命令找不到

    最终确定是shell环境问题,临时改为/bin/bash即可查看.

    1.问题现象

    # su - jingyu
    $ id
    uid=503(jingyu) gid=507(jingyu) groups=507(jingyu)
    $ ulimit -a
    ulimit: Command not found.

    2.临时切换为/bin/bash即可查看

    $ echo $SHELL
    /bin/csh
    $ bash
    $ ulimit -a
    core file size          (blocks, -c) 0
    data seg size           (kbytes, -d) unlimited
    scheduling priority             (-e) 0
    file size               (blocks, -f) unlimited
    pending signals                 (-i) 15978
    max locked memory       (kbytes, -l) 64
    max memory size         (kbytes, -m) unlimited
    open files                      (-n) 102400
    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) 15978
    virtual memory          (kbytes, -v) unlimited
    file locks                      (-x) unlimited
    $
  • 相关阅读:
    最小生成树
    图论最短路径例题
    广搜例题
    这些搜索套路好深。。。
    高斯消元part2
    高斯消元与行列式求值 part1
    2020/4/24
    实时的眼部追踪
    2020/4/23
    2020/4/22
  • 原文地址:https://www.cnblogs.com/jyzhao/p/3999135.html
Copyright © 2011-2022 走看看