The $(whoami) command will return your "username" and serve as a filter for the squeue command.

Display information of a specific job in the queue :

[xxxx@osirim-slurm ~]$ squeue -j1234

Customizing the displayed fields :

[xxxx@osirim-slurm ~]$ squeue -o "%A %j %a %P %C %D %n %R %V"

The option "--format" ("-o" in short version) allows to select the fields to display. Refer to the order documentation for a complete list of available fields. This example will display the following fields :