Allow the onions and garlic to turn translucent in the hot oil, add the minced meat at a high temperature and fry until crumbly. Stir in tomato paste and sauces, simmer for about 10 minutes. Season well with salt and pepper, add the herbs at the end and let them steep briefly.
In the meantime, cook the spaghetti al dente and serve the parmesan separately.