I'm aware of Classifying the compact subsets of $L^p$ and have seen similar posts, but I haven't seen an example of a compact set on an $L^p$ space. Trying to think of a possible simple example, and as it is used as a counterexample of compacity in the space of continuous functions, I asked myself if the set $S=\lbrace f:[0,1]\rightarrow [0,1] : ||f||_p<\infty \rbrace$ is compact on $L^p([0,1])$.
Applying the Frechet-Kolmogorov theorem feels too general to apply and makes me think that it may not be compact, but can't come up with a counterexample apart from the ones used for the set of continuous functions on $[0,1]$. Do you have any hint?