current running process in shell

hi
what is the shell programming code to know the number of processes currently running on the machine & information about those processes.

Another one is the configuration and usage of the UNIX file system?

requesting all for help.

thanks

information about process is from ps

man ps

would have all the detailed information with options and the notations / symbols used by ps