New_Era_New_Learning_Style
04/06/2024
The most regular asking questions like,
1. When a copy constructor invokes and what are the levels and types
2. How to disable copy constructor
3. How to disable copy assignment
A very simple example attached
Do comments if needed clarity
05/01/2023
Core Pattern
Attached snap is to check and change your core Pattern.
05/01/2023
Valgrind tool
-------------------
How to make your code more robust, how can you avoid memory leaks in your code.
Command: valgrind --leak-check=full ./bin
By executing the above command, you can check your heap usage.
Attached snap for your reference.
06/10/2022
Below grep pattern will help you to debug the interface level statistics.
06/10/2022
Uses of CPU core using top/htop attached below.
Create the below linux command as an alias and use it to find/kill the number of instances running of a process.
alias a='kill -9 `ps -eo '\''tty pid args'\'' | grep | grep -v grep | tr -s '\'' '\'' | cut -f2 -d '\'' '\''`'
alias b='ps -eo '\''tty pid args'\'' | grep | grep -v grep | tr -s '\'' '\'' | cut -f2 -d '\'' '\'''
19/04/2022
Linux file system
Click here to claim your Sponsored Listing.
Category
Website
Address
Bangalore