1

Can someone explain to me how can I determine actual values of for ulimit when the output of ulimit command is "hard" or "soft". This is on AIX machine. For example:

# ulimit -f
hard

And on another machine:

$ ulimit -m
soft

Since i don't have root access on this machines how can I know what are the exact values for this limits?

  • Which shell are you using? – kasperd Jul 28 '14 at 9:16
  • bash. I just tried ksh, and in this the limit is correctly displayed. Why is bash different? – CyberMuz Jul 28 '14 at 9:19
  • bash doesn't behave like that on Ubuntu. What does type ulimit say? – kasperd Jul 28 '14 at 9:25
  • # type ulimit ulimit is a shell builtin – CyberMuz Jul 28 '14 at 10:54
  • Which version of bash? The standard AIX IBM version of bash works fine. What do you get from which bash – EightBitTony Aug 18 '14 at 8:23
1

There's something odd about your bash. Are you sure you don't have either an alias for ulimit, or a non-IBM AIX version of bash?

$ which bash
/usr/bin/bash
$ bash
$ oslevel -s
6100-08-01-1245
$ ulimit -f
unlimited
$ ulimit -m
32768

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.