Hi dears, what is meant by the *number* next to *sleep* command? i have already . . .

Mahmoud Abdelfatah:
hi dears,
what is meant by the number next to sleep command?
i have already know that sleep should have a parameter which passed through "args" directive but i donn know what does the number besides sleep actually do?
thanks in advance

Radoslaw Czajkowski:
Is the pod running successfully? Basically it’s a command from a Linux system “sleep2.0”. But I doubt it exists. It should be “sleep” only. And args is how many seconds it will sleep.

Mahmoud Abdelfatah:
yes it exists and discussed in the course by mumshad but i could not understand what he said while refering to it,
he just said: “it’s an imaginary number that will make container sleep 2.010 seconds”

Mahmoud Abdelfatah:
i dont know if i was correct if i said that he means: sleep for 2 seconds and 0.010 seconds

Nishant Konduru:
@Mahmoud Abdelfatah
sleep2.0 is just an arbitrary command that was used in this lecture to explain the effect of command and args on a container in a pod.

Mahmoud Abdelfatah:
thank you, but sorry i am little bit confused, you mean that i should not use it in real life cases, it will output an eror?

Radoslaw Czajkowski:
But the pod should not run, are you sure it is running and not completed (with error)?

Nishant Konduru:
@Mahmoud Abdelfatah Yes, if you use that command then the container shouldn’t run as there is no sleep2.0 command

Mahmoud Abdelfatah:
thank u so much @Nishant Konduru

Mahmoud Abdelfatah:
thank u so much @Radoslaw Czajkowski